diff options
Diffstat (limited to 'test/common.sh')
-rw-r--r-- | test/common.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/common.sh b/test/common.sh index 800d61e..a28165e 100644 --- a/test/common.sh +++ b/test/common.sh @@ -122,7 +122,7 @@ function btc2_deco() { # Create a fork on the second node and reconnect the two node function btc2_fork() { - $BTC_CLI2 generatetoaddress ${1:-50} $RESERVE > /dev/null + $BTC_CLI2 generatetoaddress $1 $RESERVE > /dev/null $BTC_CLI addnode 127.0.0.1:8346 onetry sleep 1 } @@ -160,7 +160,7 @@ function mine_btc() { # Mine previous transactions function next_btc() { # Mine enough block to confirm previous transactions - mine_btc $CONFIRMATION + mine_btc ${1:-$CONFIRMATION} # Wait for btc_wire to catch up sleep 0.2 # Mine one more block to trigger btc_wire |