File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -1140,7 +1140,10 @@ fn recycle_alpha_clamps_to_available_when_amount_exceeds_stake() {
11401140 assert_success ( ret) ;
11411141
11421142 let returned_amount = AlphaBalance :: decode ( & mut env. output ( ) ) . unwrap ( ) ;
1143- assert_eq ! ( returned_amount, alpha_before, "should clamp to available alpha" ) ;
1143+ assert_eq ! (
1144+ returned_amount, alpha_before,
1145+ "should clamp to available alpha"
1146+ ) ;
11441147
11451148 let alpha_after =
11461149 pallet_subtensor:: Pallet :: < mock:: Test > :: get_stake_for_hotkey_and_coldkey_on_subnet (
@@ -1238,7 +1241,10 @@ fn burn_alpha_clamps_to_available_when_amount_exceeds_stake() {
12381241 assert_success ( ret) ;
12391242
12401243 let returned_amount = AlphaBalance :: decode ( & mut env. output ( ) ) . unwrap ( ) ;
1241- assert_eq ! ( returned_amount, alpha_before, "should clamp to available alpha" ) ;
1244+ assert_eq ! (
1245+ returned_amount, alpha_before,
1246+ "should clamp to available alpha"
1247+ ) ;
12421248
12431249 let alpha_after =
12441250 pallet_subtensor:: Pallet :: < mock:: Test > :: get_stake_for_hotkey_and_coldkey_on_subnet (
You can’t perform that action at this time.
0 commit comments