File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ use super::*;
66use crate :: Pallet as Registry ;
77use frame_benchmarking:: v1:: account;
88use frame_benchmarking:: v2:: * ;
9+ use frame_support:: traits:: tokens:: fungible:: Mutate ;
910use frame_system:: RawOrigin ;
1011
1112use sp_runtime:: traits:: Bounded ;
Original file line number Diff line number Diff line change @@ -39,7 +39,8 @@ pub mod pallet {
3939 type RuntimeEvent : From < Event < Self > > + IsType < <Self as frame_system:: Config >:: RuntimeEvent > ;
4040
4141 // Currency type that will be used to place deposits on neurons
42- type Currency : fungible:: MutateHold < Self :: AccountId , Reason = Self :: RuntimeHoldReason > ;
42+ type Currency : fungible:: Mutate < Self :: AccountId >
43+ + fungible:: MutateHold < Self :: AccountId , Reason = Self :: RuntimeHoldReason > ;
4344
4445 // Weight information for extrinsics in this pallet.
4546 type WeightInfo : WeightInfo ;
You can’t perform that action at this time.
0 commit comments