adding verification

This commit is contained in:
Jaremy Creechley 2024-05-28 23:31:38 +01:00
parent ae01d061b7
commit ace23791a8
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300
1 changed files with 0 additions and 3 deletions

View File

@ -65,9 +65,6 @@ proc parseJsons(
if ctx.pushInputU256Array(key.cstring, num.addr, 1) != ERR_OK: if ctx.pushInputU256Array(key.cstring, num.addr, 1) != ERR_OK:
raise newException(ValueError, "Failed to push BigInt from dec string") raise newException(ValueError, "Failed to push BigInt from dec string")
elif value.kind == JInt: elif value.kind == JInt:
# var num = value.getInt().int32
# if ctx.pushInputI32(key.cstring, num) != ERR_OK:
# raise newException(ValueError, "Failed to push JInt")
var num = value.getInt().uint64 var num = value.getInt().uint64
echo "NUM: ", num, " orig: ", value.getInt() echo "NUM: ", num, " orig: ", value.getInt()
if ctx.pushInputU64(key.cstring, num) != ERR_OK: if ctx.pushInputU64(key.cstring, num) != ERR_OK: