We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e7a7f27 + ee3c994 commit 2f28d19Copy full SHA for 2f28d19
1 file changed
doc/tabconf7/justfile
@@ -483,7 +483,7 @@ _init_regtest_sp:
483
#!/usr/bin/env bash
484
if [ ! -f ".regtest_tr_xprv" ]; then
485
rm -rf ".sp_cli2_regtest.db"
486
- BLOCKCHAININFO=$(bitcoin-cli --datadir=$BITCOIN_DATA_DIR --chain=regtest getblockchaininfo)
+ BLOCKCHAININFO=$(just cli getblockchaininfo)
487
HEIGHT=$(echo $BLOCKCHAININFO | jq -r '.blocks')
488
HASH=$(echo $BLOCKCHAININFO | jq -r '.bestblockhash')
489
DB_PATH=".sp_cli2_regtest.db" sp-cli2 create --network regtest --birthday-height $HEIGHT --birthday-hash $HASH | jq -r '.tr_xprv' > ".regtest_tr_xprv"
0 commit comments