mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 20:21:03 +00:00
get rid of obsolete weight functions (#1926)
This commit is contained in:
committed by
Bastian Köcher
parent
50d92eb8de
commit
3a145e5844
@@ -133,7 +133,7 @@ pub mod pallet {
|
||||
fn on_initialize(_n: T::BlockNumber) -> frame_support::weights::Weight {
|
||||
<RequestCount<T, I>>::mutate(|count| *count = count.saturating_sub(1));
|
||||
|
||||
Weight::from_ref_time(0)
|
||||
Weight::from_parts(0, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user