chore: fix typo in collectibles.nim

Co-authored-by: Eric Mastro <eric.mastro@gmail.com>
This commit is contained in:
Jonathan Rainville 2020-09-29 09:56:05 -04:00 committed by Iuri Matias
parent f19bfb7ca7
commit 8480c4f3da
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ proc getCryptoKittiesBatch*(address: Address, offset: int = 0): seq[Collectible]
let total = responseBody["total"].getInt
let currentCount = limit * (offset + 1)
if (currentCount < total and currentCount < MAX_TOKENS):
# Call the API again with oofset + 1
# Call the API again with offset + 1
let nextBatch = getCryptoKittiesBatch(address, offset + 1)
return concat(cryptokitties, nextBatch)
return cryptokitties