From 817ddb807bd7f01739a303a6bb8c03c524b105ec Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Thu, 21 Mar 2024 10:12:16 +0100 Subject: [PATCH] GitHub+scripts: use bitcoind v27.0 --- .github/workflows/main.yml | 2 +- scripts/install_bitcoind.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9b57d8cbf0..429b091711 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,7 +21,7 @@ defaults: shell: bash env: - BITCOIN_VERSION: "26" + BITCOIN_VERSION: "27" # If you change this value, please change it in the following files as well: # /.travis.yml diff --git a/scripts/install_bitcoind.sh b/scripts/install_bitcoind.sh index 5c655a63d4..b4faa4becd 100755 --- a/scripts/install_bitcoind.sh +++ b/scripts/install_bitcoind.sh @@ -10,7 +10,7 @@ if [ -z "$BITCOIND_VERSION" ]; then exit 1 fi -docker pull lightninglabs/bitcoin-core:$BITCOIND_VERSION -CONTAINER_ID=$(docker create lightninglabs/bitcoin-core:$BITCOIND_VERSION) -sudo docker cp $CONTAINER_ID:/opt/bitcoin-$BITCOIND_VERSION.0/bin/bitcoind /usr/local/bin/bitcoind +docker pull lightninglabs/bitcoin-core:${BITCOIND_VERSION} +CONTAINER_ID=$(docker create lightninglabs/bitcoin-core:${BITCOIND_VERSION}) +sudo docker cp $CONTAINER_ID:/opt/bitcoin-${BITCOIND_VERSION}.0/bin/bitcoind /usr/local/bin/bitcoind docker rm $CONTAINER_ID