From 794a2407a197ad98a9ee87158a71ec10a3b52f54 Mon Sep 17 00:00:00 2001 From: Gregory Markou <16929357+GregTheGreek@users.noreply.github.com> Date: Mon, 16 Sep 2019 11:19:51 -0400 Subject: [PATCH] Update specs/core/1_custody-game.md Co-Authored-By: Danny Ryan --- 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 3a7668caf..64807d80d 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[int]: +def custody_subchunkify(bytez: bytes) -> list[bytes]: 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)]