mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-02-24 09:48:24 +00:00
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…
x
Reference in New Issue
Block a user