diff --git a/ci/start-core.sh b/ci/start-core.sh index 8384529a..e11afe23 100755 --- a/ci/start-core.sh +++ b/ci/start-core.sh @@ -1,13 +1,13 @@ #!/usr/bin/env sh echo "Starting bitcoin node." -/root/bitcoind -regtest -server -daemon -fallbackfee=0.0002 -rpcuser=admin -rpcpassword=passw -rpcallowip=0.0.0.0/0 -rpcbind=0.0.0.0 +/root/bitcoind -regtest -server -daemon -fallbackfee=0.0002 -rpcuser=admin -rpcpassword=passw -rpcallowip=0.0.0.0/0 -rpcbind=0.0.0.0 -blockfilterindex=1 -peerblockfilters=1 echo "Waiting for bitcoin node." until /root/bitcoin-cli -regtest -rpcuser=admin -rpcpassword=passw getblockchaininfo; do sleep 1 done - +/root/bitcoind -regtest -rpcuser=admin -rpcpassword=passw createwallet bdk-test echo "Generating 150 bitcoin blocks." ADDR=$(/root/bitcoin-cli -regtest -rpcuser=admin -rpcpassword=passw getnewaddress) /root/bitcoin-cli -regtest -rpcuser=admin -rpcpassword=passw generatetoaddress 150 $ADDR diff --git a/testutils/src/lib.rs b/testutils/src/lib.rs index 3aaf9f19..2e0a8a05 100644 --- a/testutils/src/lib.rs +++ b/testutils/src/lib.rs @@ -360,7 +360,7 @@ impl TestClient { } if self.get_balance(None, None).unwrap() < Amount::from_sat(required_balance) { - panic!("Insufficient funds in bitcoind. Plase generate a few blocks with: `bitcoin-cli generatetoaddress 10 {}`", self.get_new_address(None, None).unwrap()); + panic!("Insufficient funds in bitcoind. Please generate a few blocks with: `bitcoin-cli generatetoaddress 10 {}`", self.get_new_address(None, None).unwrap()); } // FIXME: core can't create a tx with two outputs to the same address