Merge pull request #1679 from TheBlueMatt/2022-08-no-double-access
authorArik <arik-so@users.noreply.github.com>
Tue, 23 Aug 2022 20:11:36 +0000 (13:11 -0700)
committerGitHub <noreply@github.com>
Tue, 23 Aug 2022 20:11:36 +0000 (13:11 -0700)
Avoid querying the chain for outputs for channels we already have

.github/workflows/build.yml
lightning-invoice/Cargo.toml

index cfb1b9c847420dc0cb4ee0edb9188033a738e26f..be52e05776cec547342fdae0eedf4777eb41bfd2 100644 (file)
@@ -62,6 +62,8 @@ jobs:
       - name: Pin tokio to 1.14 for Rust 1.45
         if: "matrix.build-net-old-tokio"
         run: cargo update -p tokio --precise "1.14.0" --verbose
+        env:
+          CARGO_NET_GIT_FETCH_WITH_CLI: "true"
       - name: Build on Rust ${{ matrix.toolchain }} with net-tokio
         if: "matrix.build-net-tokio && !matrix.coverage"
         run: cargo build --verbose --color always
index b7b8f7f014654979c6eec21058828351a2f70938..cd67bcd36dc486d911b84a2842116ce5e1b2dd16 100644 (file)
@@ -23,7 +23,7 @@ bech32 = { version = "0.9.0", default-features = false }
 lightning = { version = "0.0.110", path = "../lightning", default-features = false }
 secp256k1 = { version = "0.24.0", default-features = false, features = ["recovery", "alloc"] }
 num-traits = { version = "0.2.8", default-features = false }
-bitcoin_hashes = { version = "0.10", default-features = false }
+bitcoin_hashes = { version = "0.11", default-features = false }
 hashbrown = { version = "0.11", optional = true }
 core2 = { version = "0.3.0", default-features = false, optional = true }
 serde = { version = "1.0.118", optional = true }