mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-20 20:55:41 +00:00
Fix all warnings when building for wasm (#11569)
* Fix all warnings when building for wasm Besides that it also enables warnings as errors for wasm builds in the CI. * FMT * Make clippy happy
This commit is contained in:
@@ -444,7 +444,7 @@ pub mod pallet {
|
||||
MemberCount::<T, I>::insert(rank, index.checked_add(1).ok_or(Overflow)?);
|
||||
IdToIndex::<T, I>::insert(rank, &who, index);
|
||||
IndexToId::<T, I>::insert(rank, index, &who);
|
||||
Members::<T, I>::insert(&who, MemberRecord { rank, ..record });
|
||||
Members::<T, I>::insert(&who, MemberRecord { rank });
|
||||
Self::deposit_event(Event::RankChanged { who, rank });
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user