mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 05:51:02 +00:00
replace some encode by using_encoded (#1863)
* replace some encode by using_encoded * update runtime * improve readibility
This commit is contained in:
committed by
Bastian Köcher
parent
34fccecc02
commit
72a8927ea3
@@ -101,7 +101,7 @@ pub trait StorageDoubleMap {
|
||||
{
|
||||
let mut raw_prefix = Vec::new();
|
||||
raw_prefix.extend(Self::PREFIX);
|
||||
raw_prefix.extend(Encode::encode(&key));
|
||||
key.encode_to(&mut raw_prefix);
|
||||
raw_prefix
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user