mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 19:21:13 +00:00
Fix decl_storage map and linked_map for insert_ref (#3316)
* test * fix * bumpd version * Update srml/support/procedural/src/storage/impls.rs Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
@@ -246,7 +246,7 @@ pub trait StorageMap<K: codec::Codec, V: codec::Codec> {
|
||||
/// Store a value under this key into the provided storage instance; this can take any reference
|
||||
/// type that derefs to `T` (and has `Encode` implemented).
|
||||
/// Store a value under this key into the provided storage instance.
|
||||
fn insert_ref<Arg: ?Sized + Encode, S: HashedStorage<Twox128>>(
|
||||
fn insert_ref<Arg: ?Sized + Encode, S: HashedStorage<Self::Hasher>>(
|
||||
key: &K,
|
||||
val: &Arg,
|
||||
storage: &mut S
|
||||
|
||||
Reference in New Issue
Block a user