From 6d9dd04b5024dd21fe68e8bef40798a9cd68968d Mon Sep 17 00:00:00 2001 From: Gregory Markou <16929357+GregTheGreek@users.noreply.github.com> Date: Sun, 15 Sep 2019 21:03:50 -0400 Subject: [PATCH] Update 1_custody-game.md --- specs/core/1_custody-game.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/core/1_custody-game.md b/specs/core/1_custody-game.md index f03ffada6..3a7668caf 100644 --- a/specs/core/1_custody-game.md +++ b/specs/core/1_custody-game.md @@ -340,7 +340,7 @@ def legendre_bit(a: int, q: int) -> int: Given one proof of custody chunk, returns the proof of custody subchunks of the correct sizes. ```python -def custody_subchunkify(bytez: bytes) -> list: +def custody_subchunkify(bytez: bytes) -> list[int]: bytez += b'\x00' * (-len(bytez) % BYTES_PER_CUSTODY_SUBCHUNK) return [bytez[i:i + BYTES_PER_CUSTODY_SUBCHUNK] for i in range(0, len(bytez), BYTES_PER_CUSTODY_SUBCHUNK)]