File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tests/unit_tests/extrinsics Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ async def test_commit_reveal_v3_extrinsic_success_with_torch(
220220 netuid = fake_netuid ,
221221 current_block = mock_block .return_value ["header" ]["number" ],
222222 block_time = 12.0 ,
223- hotkey = fake_wallet .hotkey .ss58_address ,
223+ hotkey = fake_wallet .hotkey .ss58_address . encode () ,
224224 )
225225 mock_do_commit_reveal_v3 .assert_awaited_once_with (
226226 subtensor = subtensor ,
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ def test_commit_reveal_v3_extrinsic_success_with_torch(
205205 netuid = fake_netuid ,
206206 current_block = mock_block .return_value ,
207207 block_time = 12.0 ,
208- hotkey = fake_wallet .hotkey .ss58_address ,
208+ hotkey = fake_wallet .hotkey .ss58_address . encode () ,
209209 )
210210 mock_do_commit_reveal_v3 .assert_called_once_with (
211211 subtensor = subtensor ,
You can’t perform that action at this time.
0 commit comments