Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafał Chabowski committed Mar 14, 2024
1 parent 34d5c03 commit 9904bca
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions utils/nctl/sh/utils/accounts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ function get_main_purse_uref()
local ACCOUNT_KEY=${1}
local STATE_ROOT_HASH=${2:-$(get_state_root_hash)}

source "$NCTL"/sh/views/view_chain_account.sh \
account-key="$ACCOUNT_KEY" \
root-hash="$STATE_ROOT_HASH" \
| jq '.stored_value.AddressableEntity.main_purse' \
| sed -e 's/^"//' -e 's/"$//'
source "$NCTL"/sh/views/view_chain_account.sh \
account-key="$ACCOUNT_KEY" \
root-hash="$STATE_ROOT_HASH" \
| jq '.stored_value.AddressableEntity.main_purse' \
| sed -e 's/^"//' -e 's/"$//'
}

0 comments on commit 9904bca

Please sign in to comment.