From 7b5af2ad5bce6b519df6646ed341a59dab602b8b Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Wed, 30 Oct 2024 12:23:53 +1100 Subject: [PATCH] Use `Transaction::compute_txid` in rustdoc The `txid` function was re-named to `compute_txid` but we missed one call link in rustdocs - update it. --- bitcoin/src/blockdata/transaction.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitcoin/src/blockdata/transaction.rs b/bitcoin/src/blockdata/transaction.rs index 41b01b8bc..8ae40b31c 100644 --- a/bitcoin/src/blockdata/transaction.rs +++ b/bitcoin/src/blockdata/transaction.rs @@ -340,7 +340,7 @@ impl Transaction { /// /// Hashes the transaction **including** all segwit data (i.e. the marker, flag bytes, and the /// witness fields themselves). For non-segwit transactions which do not have any segwit data, - /// this will be equal to [`Transaction::txid()`]. + /// this will be equal to [`Transaction::compute_txid()`]. #[doc(alias = "wtxid")] pub fn compute_wtxid(&self) -> Wtxid { let hash = hash_transaction(self, self.uses_segwit_serialization());