diff --git a/installer/setup.sh b/installer/setup.sh index 31041a2..5efd437 100755 --- a/installer/setup.sh +++ b/installer/setup.sh @@ -2104,6 +2104,8 @@ WantedBy=timers.target" >/etc/systemd/system/$EVERNODE_AUTO_UPDATE_SERVICE.timer local min_reputation_xah_requirement=$(echo "$MIN_REPUTATION_COST_PER_MONTH*$MIN_OPERATIONAL_DURATION + 1.2" | bc) local lease_amount=$(jq ".xrpl.leaseAmount | select( . != null )" "$MB_XRPL_CONFIG") + # Format lease amount since jq gives it in exponential format. + local lease_amount=$(awk -v lease_amount="$lease_amount" 'BEGIN { printf("%f\n", lease_amount) }' 0" | bc -l) @@ -2131,7 +2133,7 @@ WantedBy=timers.target" >/etc/systemd/system/$EVERNODE_AUTO_UPDATE_SERVICE.timer ! sudo -u $REPUTATIOND_USER REPUTATIOND_DATA_DIR=$REPUTATIOND_DATA node $REPUTATIOND_BIN prepare && echo "Error preparing account" && return 1 if [ "$upgrade" == "0" ]; then - echomult "\n\nIn order to register in reputation and reward system you need to have $min_reputation_evr_requirement EVR balance in your host account. Please deposit the required registration fee in EVRs. + echomult "\n\nIn order to register in reputation and reward system you need to have $min_reputation_evr_requirement EVR balance in your host account. Please deposit the required amount in EVRs. \nYou can scan the provided QR code in your wallet app to send funds." while true; do diff --git a/reputationd/lib/setup.js b/reputationd/lib/setup.js index 19a8580..f264f5e 100644 --- a/reputationd/lib/setup.js +++ b/reputationd/lib/setup.js @@ -172,7 +172,7 @@ class Setup { const moment = await hostClient.getMoment(); if (!repInfo) { - console.log('You haven\'t opted in for reputation.'); + console.log('You don\'t have reputation info yet.\n Make sure you have opted-in. If opted-in, wait until your host reporting for first reputation.'); return; } else if (!repInfo.moment) {