mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
Force -walletbroadcast=1 for tests.
Since lightningd wants walletbroadcast=0, override it on cmdline. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
2e873af86f
commit
e272d759a5
@ -5,14 +5,14 @@ if grep -q ^FEATURES.*ALPHA ../Makefile; then
|
||||
DATADIR=$HOME/.alpha
|
||||
REGTESTDIR=alpharegtest
|
||||
CLI="alpha-cli -datadir=$DATADIR -regtest -testnet=0"
|
||||
DAEMON="alphad -datadir=$DATADIR"
|
||||
DAEMON="alphad -datadir=$DATADIR -regtest -testnet=0 -walletbroadcast=1"
|
||||
SEQ_ENFORCEMENT=true
|
||||
else
|
||||
STYLE=bitcoin
|
||||
CLI="bitcoin-cli -regtest"
|
||||
CLI="bitcoin-cli -regtest -testnet=0"
|
||||
DATADIR=$HOME/.bitcoin
|
||||
REGTESTDIR=regtest
|
||||
DAEMON="bitcoind -regtest"
|
||||
DAEMON="bitcoind -regtest -testnet=0 -walletbroadcast=1"
|
||||
if grep ^FEATURES ../Makefile | cut -d'#' -f1 | grep -q BIP68; then
|
||||
SEQ_ENFORCEMENT=true
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user