We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da1a9d2 commit 8e4bf4cCopy full SHA for 8e4bf4c
pallets/subtensor/tests/swap_hotkey.rs
@@ -96,8 +96,7 @@ fn test_swap_total_hotkey_coldkey_stakes_this_interval() {
96
));
97
98
assert!(!TotalHotkeyColdkeyStakesThisInterval::<Test>::contains_key(
99
- old_hotkey,
100
- coldkey
+ old_hotkey, coldkey
101
102
assert_eq!(
103
TotalHotkeyColdkeyStakesThisInterval::<Test>::get(new_hotkey, coldkey),
@@ -957,9 +956,6 @@ fn test_swap_hotkey_error_cases() {
957
956
958
959
// Check balance after swap
960
- assert_eq!(
961
- Balances::free_balance(coldkey),
962
- initial_balance - swap_cost
963
- );
+ assert_eq!(Balances::free_balance(coldkey), initial_balance - swap_cost);
964
});
965
}
0 commit comments