Fixed TypeError bug
This commit is contained in:
parent
32a712e1db
commit
f43f8088e5
@ -299,7 +299,7 @@ class Transaction {
|
||||
}
|
||||
|
||||
_handleRpcError(e, method) {
|
||||
if (e.error.error) {
|
||||
if (e.error?.error) {
|
||||
// Sometimes ethers wraps known errors, unwrap it in this case
|
||||
e = e.error
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user