Skip to content

Commit

Permalink
Use quotation marks for jq query
Browse files Browse the repository at this point in the history
  • Loading branch information
steviez committed Jun 18, 2024
1 parent ca7a098 commit ddb78bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/remote/remote-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ EOF
agave-ledger-tool -l config/bootstrap-validator shred-version --max-genesis-archive-unpacked-size 1073741824 | tee config/shred-version

if [[ -n "$maybeWaitForSupermajority" ]]; then
bankHash=$(agave-ledger-tool -l config/bootstrap-validator verify --halt-at-slot 0 --print-bank-hash --output json | jq -r .hash)
bankHash=$(agave-ledger-tool -l config/bootstrap-validator verify --halt-at-slot 0 --print-bank-hash --output json | jq -r ".hash")
shredVersion="$(cat "$SOLANA_CONFIG_DIR"/shred-version)"
extraNodeArgs="$extraNodeArgs --expected-bank-hash $bankHash --expected-shred-version $shredVersion"
echo "$bankHash" > config/bank-hash
Expand Down

0 comments on commit ddb78bb

Please sign in to comment.