Skip to content

Commit 2f28d19

Browse files
committed
Merge pull request #54 from 'fix/regtest-env'
2 parents e7a7f27 + ee3c994 commit 2f28d19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/tabconf7/justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ _init_regtest_sp:
483483
#!/usr/bin/env bash
484484
if [ ! -f ".regtest_tr_xprv" ]; then
485485
rm -rf ".sp_cli2_regtest.db"
486-
BLOCKCHAININFO=$(bitcoin-cli --datadir=$BITCOIN_DATA_DIR --chain=regtest getblockchaininfo)
486+
BLOCKCHAININFO=$(just cli getblockchaininfo)
487487
HEIGHT=$(echo $BLOCKCHAININFO | jq -r '.blocks')
488488
HASH=$(echo $BLOCKCHAININFO | jq -r '.bestblockhash')
489489
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

Comments
 (0)