WebSocketProvider's getTransactionReceipt throws "unknown error" for pending tx #813
Labels
bug
Verified to be an issue.
fixed/complete
This Bug is fixed or Enhancement is complete and published.
I believe other Providers return
null
in this case.I think the error originates from this part:
ethers.js/packages/providers/src.ts/websocket-provider.ts
Lines 85 to 97 in 0d71cfb
When a receipt is not found,
result.result
will benull
.The text was updated successfully, but these errors were encountered: