Skip to content

Commit

Permalink
Use actual params on to_bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigidity committed Mar 28, 2024
1 parent 49c5aae commit 54350cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chia/_tests/core/full_node/stores/test_hint_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ async def test_duplicates(db_version: int) -> None:
async def test_coin_ids_multi(db_version: int) -> None:
async with DBConnection(db_version) as db_wrapper:
hint_store = await HintStore.create(db_wrapper)
hints = [32 * i.to_bytes() for i in range(256)]
coin_ids = [bytes32(32 * i.to_bytes()) for i in range(256)]
hints = [32 * i.to_bytes(1, byteorder="big", signed=False) for i in range(256)]
coin_ids = [bytes32(32 * i.to_bytes(1, byteorder="big", signed=False)) for i in range(256)]

expected: dict[bytes, list[bytes32]] = {}
expected[hints[0]] = coin_ids[0:10]
Expand Down

0 comments on commit 54350cf

Please sign in to comment.