mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 23:21:06 +00:00
Let StorageDoubleMap use borrowed key types (#1804)
* Let StorageDoubleMap use borrowed key types * Bump impl version
This commit is contained in:
committed by
Gav Wood
parent
4bf4b37185
commit
f5ab24804f
@@ -369,7 +369,7 @@ impl<T: Trait> StorageDoubleMap for StorageOf<T> {
|
||||
impl<T: Trait> OnFreeBalanceZero<T::AccountId> for Module<T> {
|
||||
fn on_free_balance_zero(who: &T::AccountId) {
|
||||
<CodeHashOf<T>>::remove(who);
|
||||
<StorageOf<T>>::remove_prefix(who.clone());
|
||||
<StorageOf<T>>::remove_prefix(who);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user