File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,12 @@ if bitcoind -version | grep -q "0\.19\|0\.20"; then
23
23
BLOCKFILTERARG=" -blockfilterindex=1"
24
24
fi
25
25
26
- bitcoind -regtest $BLOCKFILTERARG \
26
+ FALLBACKFEEARG=" "
27
+ if bitcoind -version | grep -q " 0\.20" ; then
28
+ FALLBACKFEEARG=" -fallbackfee=0.00001000"
29
+ fi
30
+
31
+ bitcoind -regtest $BLOCKFILTERARG $FALLBACKFEEARG \
27
32
-datadir=${TESTDIR} /2 \
28
33
-connect=127.0.0.1:12348 \
29
34
-rpcport=12349 \
@@ -34,7 +39,10 @@ PID2=$!
34
39
# Let it connect to the other node.
35
40
sleep 5
36
41
37
- RPC_URL=http://localhost:12349 RPC_COOKIE=${TESTDIR} /2/regtest/.cookie cargo run
42
+ RPC_URL=http://localhost:12349 \
43
+ RPC_COOKIE=${TESTDIR} /2/regtest/.cookie \
44
+ cargo run
45
+
38
46
RESULT=$?
39
47
40
48
kill -9 $PID1 $PID2
You can’t perform that action at this time.
0 commit comments