From 643c964e3235a1405c5b63362a4bb53bee357953 Mon Sep 17 00:00:00 2001 From: James Wilson Date: Mon, 8 Aug 2022 12:13:17 +0100 Subject: [PATCH] Expose the extrinsic hash from TxProgress --- subxt/src/tx/tx_progress.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/subxt/src/tx/tx_progress.rs b/subxt/src/tx/tx_progress.rs index 50b02f4844..4143468928 100644 --- a/subxt/src/tx/tx_progress.rs +++ b/subxt/src/tx/tx_progress.rs @@ -64,6 +64,11 @@ impl TxProgress { ext_hash, } } + + /// Return the hash of the extrinsic. + pub fn extrinsic_hash(&self) -> T::Hash { + self.ext_hash + } } impl> TxProgress {