Skip to content

Commit

Permalink
fix: use compute_txid() instead of deprecated txid()
Browse files Browse the repository at this point in the history
  • Loading branch information
oleonardolima committed May 16, 2024
1 parent 0a2658d commit 48de600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 48de600

Please sign in to comment.