1
0
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:
Whymarrh Whitby 2018-09-08 19:59:50 -02:30
parent fdb023381b
commit 7c3b69e1e4

View File

@ -353,6 +353,7 @@ class TransactionStateManager extends EventEmitter {
const txMeta = this.getTx(txId)
txMeta.err = {
message: err.toString(),
rpc: err.value,
stack: err.stack,
}
this.updateTx(txMeta)