diff options
author | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-09-09 06:29:50 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-09-09 06:29:50 +0800 |
commit | 7c3b69e1e495ed0d44cd1ed43db55828f3e05642 (patch) | |
tree | 5b96397af22a43f57bddafb92be15326b1aa4539 /app | |
parent | fdb023381be323bd3198d5e102447e6591e7e73e (diff) | |
download | tangerine-wallet-browser-7c3b69e1e495ed0d44cd1ed43db55828f3e05642.tar tangerine-wallet-browser-7c3b69e1e495ed0d44cd1ed43db55828f3e05642.tar.gz tangerine-wallet-browser-7c3b69e1e495ed0d44cd1ed43db55828f3e05642.tar.bz2 tangerine-wallet-browser-7c3b69e1e495ed0d44cd1ed43db55828f3e05642.tar.lz tangerine-wallet-browser-7c3b69e1e495ed0d44cd1ed43db55828f3e05642.tar.xz tangerine-wallet-browser-7c3b69e1e495ed0d44cd1ed43db55828f3e05642.tar.zst tangerine-wallet-browser-7c3b69e1e495ed0d44cd1ed43db55828f3e05642.zip |
Attach the RPC error value to txMeta
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/controllers/transactions/tx-state-manager.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/scripts/controllers/transactions/tx-state-manager.js b/app/scripts/controllers/transactions/tx-state-manager.js index 28a18ca2e..daa6cc388 100644 --- a/app/scripts/controllers/transactions/tx-state-manager.js +++ b/app/scripts/controllers/transactions/tx-state-manager.js @@ -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) |