File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -330,9 +330,9 @@ pub mod pallet {
330330 /// Enum for the per-coldkey root claim setting.
331331 pub enum RootClaimTypeEnum {
332332 /// Swap any alpha emission for TAO.
333+ #[ default]
333334 Swap ,
334335 /// Keep all alpha emission.
335- #[ default]
336336 Keep ,
337337 /// Keep all alpha emission for specified subnets.
338338 KeepSubnets {
Original file line number Diff line number Diff line change @@ -1822,6 +1822,6 @@ fn test_claim_root_default_mode_keep() {
18221822 new_test_ext ( 1 ) . execute_with ( || {
18231823 let coldkey = U256 :: from ( 1003 ) ;
18241824
1825- assert_eq ! ( RootClaimType :: <Test >:: get( coldkey) , RootClaimTypeEnum :: Keep ) ;
1825+ assert_eq ! ( RootClaimType :: <Test >:: get( coldkey) , RootClaimTypeEnum :: Swap ) ;
18261826 } ) ;
18271827}
You can’t perform that action at this time.
0 commit comments