From 48de600f0e97f7015fbbc245127a4f631a42b9ef Mon Sep 17 00:00:00 2001 From: Leonardo Lima Date: Sat, 4 May 2024 17:23:08 -0300 Subject: [PATCH] fix: use `compute_txid()` instead of deprecated `txid()` --- src/ext.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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