mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Attach the RPC error value to txMeta
This commit is contained in:
parent
fdb023381b
commit
7c3b69e1e4
@ -353,6 +353,7 @@ class TransactionStateManager extends EventEmitter {
|
|||||||
const txMeta = this.getTx(txId)
|
const txMeta = this.getTx(txId)
|
||||||
txMeta.err = {
|
txMeta.err = {
|
||||||
message: err.toString(),
|
message: err.toString(),
|
||||||
|
rpc: err.value,
|
||||||
stack: err.stack,
|
stack: err.stack,
|
||||||
}
|
}
|
||||||
this.updateTx(txMeta)
|
this.updateTx(txMeta)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user