From 5e7e4a179df699f249ee83de374818f707c3f2d8 Mon Sep 17 00:00:00 2001 From: Matthew Little Date: Thu, 25 Jan 2024 20:06:15 +0100 Subject: [PATCH] fix: specify wallet name in bitcoin conf --- Dockerfile.e2e | 8 ++++---- stacks-krypton-miner.toml | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile.e2e b/Dockerfile.e2e index 909b45b..3cb8562 100644 --- a/Dockerfile.e2e +++ b/Dockerfile.e2e @@ -145,8 +145,8 @@ RUN < run.sh <<'EOM' function start_miner() { while true; do - TX=$(bitcoin-cli listtransactions '*' 1 0 true) + TX=$(bitcoin-cli -rpcwallet=main listtransactions '*' 1 0 true) CONFS=$(echo "$TX" | jq '.[].confirmations') if [ "$CONFS" = "0" ]; then echo "Detected Stacks mining mempool tx, mining btc block..." diff --git a/stacks-krypton-miner.toml b/stacks-krypton-miner.toml index d62a66d..f2daa2f 100644 --- a/stacks-krypton-miner.toml +++ b/stacks-krypton-miner.toml @@ -44,6 +44,7 @@ rpc_ssl = false username = "$BITCOIN_RPC_USER" password = "$BITCOIN_RPC_PASS" timeout = 30 +wallet_name = "main" [[burnchain.epochs]] epoch_name = "1.0"