Skip to content

Commit c22a38f

Browse files
committed
cargo clippy
1 parent fb62d2f commit c22a38f

File tree

1 file changed

+4
-4
lines changed
  • pallets/subtensor/src/tests

1 file changed

+4
-4
lines changed

pallets/subtensor/src/tests/evm.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ fn test_associate_evm_key_rate_limit_exceeded() {
267267
netuid,
268268
evm_key,
269269
block_number,
270-
signature.clone(),
270+
signature,
271271
));
272272

273273
System::set_block_number(System::block_number() + 1);
@@ -284,7 +284,7 @@ fn test_associate_evm_key_rate_limit_exceeded() {
284284
netuid,
285285
evm_key,
286286
block_number,
287-
signature.clone(),
287+
signature,
288288
),
289289
Error::<Test>::EvmKeyAssociateRateLimitExceeded
290290
);
@@ -301,7 +301,7 @@ fn test_associate_evm_key_rate_limit_exceeded() {
301301
netuid,
302302
evm_key,
303303
block_number,
304-
signature.clone(),
304+
signature,
305305
));
306306
});
307307
}
@@ -334,7 +334,7 @@ fn test_associate_evm_key_uid_not_found() {
334334
netuid,
335335
evm_key,
336336
block_number,
337-
signature.clone(),
337+
signature,
338338
),
339339
Error::<Test>::NonAssociatedColdKey
340340
);

0 commit comments

Comments
 (0)