Skip to content

Commit 098edf7

Browse files
committed
fix(tabconf7): on just recipe _init_regtest_sp use --chain=regtest for commands
1 parent f83bc19 commit 098edf7

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=signet getblockchaininfo)
486+
BLOCKCHAININFO=$(bitcoin-cli --datadir=$BITCOIN_DATA_DIR --chain=regtest 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)