Fix BlockNumber conversion for getBlockReceipts in portal_bridge (#2074)
This commit is contained in:
parent
7287efc7b4
commit
0fb7632aaa
|
@ -135,7 +135,7 @@ proc getBlockReceipts(
|
|||
): Future[Result[seq[ReceiptObject], string]] {.async: (raises: []).} =
|
||||
let res =
|
||||
try:
|
||||
await client.eth_getBlockReceipts(blockNumber)
|
||||
await client.eth_getBlockReceipts(blockId(blockNumber))
|
||||
except CatchableError as e:
|
||||
return err("JSON-RPC eth_getBlockReceipts failed: " & e.msg)
|
||||
if res.isNone():
|
||||
|
|
Loading…
Reference in New Issue