We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 192536d + e589cbb commit 3ff3e87Copy full SHA for 3ff3e87
infra/bitcoin/run.sh
@@ -9,9 +9,9 @@ sleep 20
9
# Print setup
10
echo "BITCOIN_ADDRESS=$ADDRESS"
11
12
-# Create wallet
13
/app/bin/bitcoin-cli createwallet "testwallet"
14
+
15
# Import the address
16
/app/bin/bitcoin-cli -regtest importaddress $ADDRESS
17
@@ -28,6 +28,6 @@ do
28
/app/bin/bitcoin-cli -regtest generatetoaddress 1 $ADDRESS
29
sleep 5
30
# send tx to own address while paying fee to the miner
31
- /app/bin/bitcoin-cli -regtest sendtoaddress $ADDRESS 1 "" "" true
+ /app/bin/bitcoin-cli -regtest -named sendtoaddress address=$ADDRESS amount=0.1 subtractfeefromamount=true fee_rate=1
32
33
done
0 commit comments