mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-05 18:31:07 +00:00
Convenient block creation logic
This commit is contained in:
1 parent
c29bb49517
commit
e9958a8e5c
11 files changed
+109
-5
No files matched your search
@@ -55,6 +55,11 @@ impl Signature {
|
||||
r.copy_from_slice(data);
|
||||
Signature(r)
|
||||
}
|
||||
|
||||
/// Get the inner part.
|
||||
pub fn inner(self) -> [u8; 64] {
|
||||
self.0
|
||||
}
|
||||
}
|
||||
|
||||
impl AsRef<[u8; 64]> for Signature {
|
||||
|
||||
Reference in new issue
Block a user