Skip to content

Commit 7974e99

Browse files
committed
fix h160 literals
1 parent 20db6a0 commit 7974e99

File tree

1 file changed

+4
-4
lines changed
  • pallets/admin-utils/src/tests

1 file changed

+4
-4
lines changed

pallets/admin-utils/src/tests/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2496,22 +2496,22 @@ fn test_trim_to_max_allowed_uids() {
24962496
AssociatedEvmAddress::<Test>::insert(
24972497
netuid,
24982498
6,
2499-
(sp_core::H160::from_slice(b"0x12345678901234567890"), now),
2499+
(sp_core::H160::from_slice(b"12345678901234567890"), now),
25002500
);
25012501
AssociatedEvmAddress::<Test>::insert(
25022502
netuid,
25032503
11,
2504-
(sp_core::H160::from_slice(b"0xA2345678901234567890"), now),
2504+
(sp_core::H160::from_slice(b"A2345678901234567890"), now),
25052505
);
25062506
AssociatedEvmAddress::<Test>::insert(
25072507
netuid,
25082508
7,
2509-
(sp_core::H160::from_slice(b"0xB2345678901234567890"), now),
2509+
(sp_core::H160::from_slice(b"B2345678901234567890"), now),
25102510
);
25112511
AssociatedEvmAddress::<Test>::insert(
25122512
netuid,
25132513
14,
2514-
(sp_core::H160::from_slice(b"0xC2345678901234567890"), now),
2514+
(sp_core::H160::from_slice(b"C2345678901234567890"), now),
25152515
);
25162516

25172517
// And some temporally immune uids

0 commit comments

Comments
 (0)