Skip to content

Commit a14337b

Browse files
committed
make it easier
1 parent af555d7 commit a14337b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pallets/subtensor/tests/staking.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4094,8 +4094,8 @@ fn test_comprehensive_coldkey_swap_scenarios() {
40944094

40954095
// Schedule swaps for subnet owners and regular user
40964096
let (work1, nonce1) = generate_valid_pow(&subnet_owner1, current_block, U256::from(BaseDifficulty::<Test>::get()));
4097-
let (work2, nonce2) = generate_valid_pow(&subnet_owner2, current_block, U256::from(2) * U256::from(BaseDifficulty::<Test>::get()));
4098-
let (work3, nonce3) = generate_valid_pow(&regular_user, current_block, U256::from(3)* U256::from(BaseDifficulty::<Test>::get()),);
4097+
let (work2, nonce2) = generate_valid_pow(&subnet_owner2, current_block, U256::from(BaseDifficulty::<Test>::get()));
4098+
let (work3, nonce3) = generate_valid_pow(&regular_user, current_block, U256::from(BaseDifficulty::<Test>::get()));
40994099

41004100
assert_ok!(SubtensorModule::do_schedule_coldkey_swap(
41014101
&subnet_owner1,

0 commit comments

Comments
 (0)