Print account balances in SOL by default (#5857)

* Print account balances in SOL by default

* Review comments

* Fix wallet-sanity
This commit is contained in:
Tyera Eulberg
2019-09-10 13:36:59 -06:00
committed by GitHub
parent fc4aa71193
commit e05f8faa74
3 changed files with 111 additions and 29 deletions

View File

@ -23,7 +23,7 @@ check_balance_output() {
exec 42>&1
attempts=3
while [[ $attempts -gt 0 ]]; do
output=$($solana_cli "${entrypoint[@]}" balance | tee >(cat - >&42))
output=$($solana_cli "${entrypoint[@]}" balance --lamports | tee >(cat - >&42))
if [[ "$output" =~ $expected_output ]]; then
break
else