Skip to content

Commit 189444c

Browse files
committed
harness/btc: Bind to address.
1 parent 06d301a commit 189444c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

dex/testing/btc/base-harness.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ echo "Starting simnet alpha node"
113113
tmux send-keys -t $SESSION:0 "${DAEMON} -rpcuser=user -rpcpassword=pass \
114114
-rpcport=${ALPHA_RPC_PORT} -datadir=${ALPHA_DIR} $(deprecateddbd $ALPHA_DESCRIPTOR_WALLET) \
115115
-debug=rpc -debug=net -debug=mempool -debug=walletdb -debug=addrman -debug=mempoolrej \
116-
-whitelist=127.0.0.0/8 -whitelist=::1 \
117-
-txindex=1 -regtest=1 -port=${ALPHA_LISTEN_PORT} -fallbackfee=0.00001 \
116+
-whitelist=127.0.0.0/8 -whitelist=::1 -txindex=1 -regtest=1 -port=${ALPHA_LISTEN_PORT} \
117+
-bind=127.0.0.1:${ALPHA_LISTEN_PORT} -fallbackfee=0.00001 \
118118
${EXTRA_ARGS}; tmux wait-for -S alpha${SYMBOL}" C-m
119119
sleep 3
120120

@@ -130,8 +130,8 @@ echo "Starting simnet beta node"
130130
tmux send-keys -t $SESSION:1 "${DAEMON} -rpcuser=user -rpcpassword=pass $(deprecateddbd $BETA_DESCRIPTOR_WALLET)\
131131
-rpcport=${BETA_RPC_PORT} -datadir=${BETA_DIR} -txindex=1 -regtest=1 \
132132
-debug=rpc -debug=net -debug=mempool -debug=walletdb -debug=addrman -debug=mempoolrej \
133-
-whitelist=127.0.0.0/8 -whitelist=::1 \
134-
-port=${BETA_LISTEN_PORT} -fallbackfee=0.00001 ${EXTRA_ARGS}; \
133+
-whitelist=127.0.0.0/8 -whitelist=::1 -port=${BETA_LISTEN_PORT} \
134+
-bind=127.0.0.1:${BETA_LISTEN_PORT} -fallbackfee=0.00001 ${EXTRA_ARGS}; \
135135
tmux wait-for -S beta${SYMBOL}" C-m
136136
sleep 3
137137

0 commit comments

Comments
 (0)