mirror of
https://github.com/tornadocash/tx-manager.git
synced 2024-06-16 01:13:29 +02:00
Fixed TypeError bug
This commit is contained in:
parent
142ce883b4
commit
8ca419c425
|
@ -299,7 +299,7 @@ class Transaction {
|
||||||
}
|
}
|
||||||
|
|
||||||
_handleRpcError(e, method) {
|
_handleRpcError(e, method) {
|
||||||
if (e.error.error) {
|
if (e.error?.error) {
|
||||||
// Sometimes ethers wraps known errors, unwrap it in this case
|
// Sometimes ethers wraps known errors, unwrap it in this case
|
||||||
e = e.error
|
e = e.error
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user