mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 19:07:57 +00:00
decl_storage doc (#2341)
* doc * other doc cleanup and fixing links * one more typo
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
use crate::codec::Codec;
|
||||
use runtime_io::{blake2_256, twox_128, twox_256};
|
||||
|
||||
/// Trait for available hash functions.
|
||||
pub trait Hashable: Sized {
|
||||
fn blake2_256(&self) -> [u8; 32];
|
||||
fn twox_128(&self) -> [u8; 16];
|
||||
|
||||
Reference in New Issue
Block a user