Skip to content

Commit

Permalink
Fix for bug in sanity check
Browse files Browse the repository at this point in the history
  • Loading branch information
Scitz0 committed Jul 3, 2020
1 parent a1cd24d commit 2fa1782
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/cnode-helper-scripts/sendADA.sh
Expand Up @@ -77,11 +77,11 @@ fi

LOVELACE="$2"
if [[ ${LOVELACE} != "all" ]]; then
if ! ADAtoLovelace "${LOVELACE}"; then
if ! ADAtoLovelace "${LOVELACE}" >/dev/null; then
echo "" && exit 1
fi
LOVELACE=$(ADAtoLovelace "${LOVELACE}")
if [[ ${LOVELACE} -lt ${base_lovelace} ]]; then
if [[ ${LOVELACE} -gt ${base_lovelace} ]]; then
say "${RED}ERROR${NC}: not enough funds available in source address"
echo "" && exit 1
fi
Expand Down

0 comments on commit 2fa1782

Please sign in to comment.