diff --git a/Cargo.toml b/Cargo.toml index d44b6c1..141108f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "electrsd" -version = "0.27.3" +version = "0.28.0" authors = ["Riccardo Casatta "] description = "Utility to run a regtest electrs process, useful in integration testing environment" repository = "https://github.com/RCasatta/electrsd" @@ -10,19 +10,19 @@ edition = "2018" categories = ["cryptography::cryptocurrencies", "development-tools::testing"] [dependencies] -bitcoind = { version = "0.34.0" } -electrum-client = { version = "0.19.0", default-features = false } -log = "0.4" -which = "4.2.5" +bitcoind = { version = "0.36.0" } +electrum-client = { version = "0.20.0", default-features = false } +log = { version = "0.4" } +which = { version = "4.2.5" } [target.'cfg(not(windows))'.dependencies] nix = { version = "0.25.0" } [dev-dependencies] -env_logger = "0.10" +env_logger = { version = "0.10" } [build-dependencies] -bitcoin_hashes = { version = "0.13", optional = true } +bitcoin_hashes = { version = "0.14", optional = true } zip = { version = "0.6", default-features = false, optional = true, features = [ "bzip2", "deflate", @@ -37,7 +37,6 @@ legacy = [] # download is not supposed to be used directly only through selecting one of the version feature download = ["bitcoin_hashes", "zip", "minreq"] - esplora_a33e97e1 = ["download"] electrs_0_8_10 = ["download"] electrs_0_9_1 = ["download"] diff --git a/src/ext.rs b/src/ext.rs index 4e275e7..1883910 100644 --- a/src/ext.rs +++ b/src/ext.rs @@ -26,7 +26,7 @@ impl ElectrsD { match self.client.transaction_get(txid) { Ok(tx) => { // having the raw tx doesn't mean the scripts has been indexed - let txid = tx.txid(); + let txid = tx.compute_txid(); if let Some(output) = tx.output.first() { let history = self .client