Add hash method to ExtrinsicDetails (#1676)

* Add hash method to ExtrinsicDetails

* fix test
This commit is contained in:
James Wilson authored and GitHub committed 2024-07-22 13:54:32 +01:00
1 parent ada8e17b89
commit c3267ed488
3 files changed
+64 -16

No files matched your search

+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()