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 6586156 commit e6b8aabCopy full SHA for e6b8aab
pallets/subtensor/tests/swap.rs
@@ -1108,7 +1108,7 @@ fn test_do_swap_coldkey_success() {
1108
assert!(!OwnedHotkeys::<Test>::contains_key(old_coldkey));
1109
1110
// Verify balance transfer
1111
- assert_eq!(SubtensorModule::get_coldkey_balance(&new_coldkey), balance);
+ assert_eq!(SubtensorModule::get_coldkey_balance(&new_coldkey), balance + balance_new_coldkey);
1112
assert_eq!(SubtensorModule::get_coldkey_balance(&old_coldkey), 0);
1113
1114
// Verify event emission
0 commit comments