mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 16:11:05 +00:00
Convenient block creation logic
This commit is contained in:
@@ -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