Skip to content

Commit 3db6b62

Browse files
committed
Fix the delegate take function in zero delegate take test
1 parent a99c55f commit 3db6b62

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pallets/subtensor/tests/staking.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2773,10 +2773,7 @@ fn test_can_set_zero_take_ok() {
27732773
hotkey0,
27742774
0
27752775
));
2776-
assert_eq!(
2777-
SubtensorModule::get_last_tx_block_delegate_take(&hotkey0),
2778-
0
2779-
);
2776+
assert_eq!(SubtensorModule::get_hotkey_take(&hotkey0), 0);
27802777
});
27812778
}
27822779

0 commit comments

Comments
 (0)