Skip to content

Commit e91aa71

Browse files
committed
fix warning
1 parent 3dc87b3 commit e91aa71

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

runtime/tests/pallet_proxy.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,6 @@ fn call_senate() -> RuntimeCall {
101101

102102
// staking call
103103
fn call_add_stake() -> RuntimeCall {
104-
let block_number: u64 = 1;
105-
let netuid: u16 = 2;
106-
let (_, work): (u64, Vec<u8>) = SubtensorModule::create_work_for_block_number(
107-
netuid,
108-
block_number,
109-
0,
110-
&AccountId::from(ACCOUNT),
111-
);
112-
113104
let amount_staked = 100;
114105
RuntimeCall::SubtensorModule(pallet_subtensor::Call::add_stake {
115106
hotkey: AccountId::from(DELEGATE).into(),

0 commit comments

Comments
 (0)