Skip to content

Commit

Permalink
oops fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
camfairchild committed Sep 11, 2024
1 parent b41d016 commit 4b59d41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/subtensor/tests/coinbase.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ fn test_get_nonviable_stake() {
// Verify that the nonviable stake is the net of the operations
assert_eq!(
SubtensorModule::get_nonviable_stake(&delegate_hotkey, &delegate_coldkey),
owner_adds_more_stake - owner_removed_stake
owner_adds_more_stake - owner_removed_stake + owner_added_stake
);
});
}

0 comments on commit 4b59d41

Please sign in to comment.