Add hash method to ExtrinsicDetails (#1676)

* Add hash method to ExtrinsicDetails

* fix test
This commit is contained in:
James Wilson
2024-07-22 13:54:32 +01:00
committed by GitHub
parent ada8e17b89
commit c3267ed488
3 changed files with 64 additions and 16 deletions
+5
View File
@@ -159,6 +159,11 @@ where
}
}
/// See [`subxt_core::blocks::ExtrinsicDetails::hash()`].
pub fn hash(&self) -> T::Hash {
self.inner.hash()
}
/// See [`subxt_core::blocks::ExtrinsicDetails::is_signed()`].
pub fn is_signed(&self) -> bool {
self.inner.is_signed()