mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 17:31:05 +00:00
declone and close the door (#12035)
* declone and close the door * cargo fmt * remove brackets
This commit is contained in:
@@ -491,7 +491,7 @@ impl<T: Config> PoolMember<T> {
|
||||
true
|
||||
} else {
|
||||
removed_points
|
||||
.try_insert(*e, p.clone())
|
||||
.try_insert(*e, *p)
|
||||
.expect("source map is bounded, this is a subset, will be bounded; qed");
|
||||
false
|
||||
}
|
||||
@@ -1920,10 +1920,7 @@ pub mod pallet {
|
||||
);
|
||||
ReversePoolIdLookup::<T>::insert(bonded_pool.bonded_account(), pool_id);
|
||||
|
||||
Self::deposit_event(Event::<T>::Created {
|
||||
depositor: who.clone(),
|
||||
pool_id: pool_id.clone(),
|
||||
});
|
||||
Self::deposit_event(Event::<T>::Created { depositor: who.clone(), pool_id });
|
||||
|
||||
Self::deposit_event(Event::<T>::Bonded {
|
||||
member: who,
|
||||
|
||||
Reference in New Issue
Block a user