Skip to content

Commit 55c9239

Browse files
committed
Update fund.sh to specify rpcwallet
1 parent 5489af6 commit 55c9239

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/fund.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ADDRESS=$1
1313
AMOUNT=${2:-0.00002}
1414

1515
# Send the specified amount (or 0.0002 if none specified) to the provided address
16-
bitcoin-cli -regtest sendtoaddress $ADDRESS $AMOUNT
16+
bitcoin-cli -regtest -rpcwallet=testwallet sendtoaddress $ADDRESS $AMOUNT
1717

1818
# Generate a block to confirm the transaction
19-
bitcoin-cli -regtest -generate 1
19+
bitcoin-cli -regtest -rpcwallet=testwallet -generate 1

0 commit comments

Comments
 (0)