Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Fix CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Leshiy committed Jan 10, 2022
1 parent e923956 commit eac9616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frame/support/src/storage/types/counted_double_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ use crate::{
};
use codec::{Decode, Encode, EncodeLike, FullCodec, MaxEncodedLen, Ref};
use sp_runtime::traits::Saturating;
use sp_std::prelude::*;

pub struct CountedStorageDoubleMap<
Prefix,
Expand Down Expand Up @@ -202,7 +203,6 @@ where
Self::iter_prefix_values(Ref::from(&k1)).for_each(|_| {
on_remove += 1;
});
dbg!(&on_remove);
CounterFor::<Prefix>::mutate(|value| {
*value = value.saturating_sub(on_remove);
});
Expand Down

0 comments on commit eac9616

Please sign in to comment.