aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2017-08-04 04:09:27 +0800
committerGitHub <noreply@github.com>2017-08-04 04:09:27 +0800
commit15bcbb4941efc66630e9abf1ff27370e759f753d (patch)
treec54e37ff927f00ba7879f14b664ea495e7128e91
parent8a9d0073b1d6b959e9374180e2f52d12ea8319ca (diff)
parentdce593fd7bbe1848b8744e3911f24d9ac2fa1bf7 (diff)
downloadtangerine-wallet-browser-15bcbb4941efc66630e9abf1ff27370e759f753d.tar.gz
tangerine-wallet-browser-15bcbb4941efc66630e9abf1ff27370e759f753d.tar.zst
tangerine-wallet-browser-15bcbb4941efc66630e9abf1ff27370e759f753d.zip
Merge pull request #1850 from MetaMask/stack
remove stack from txs
-rw-r--r--app/scripts/controllers/transactions.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/scripts/controllers/transactions.js b/app/scripts/controllers/transactions.js
index 720323e41..308d43cb0 100644
--- a/app/scripts/controllers/transactions.js
+++ b/app/scripts/controllers/transactions.js
@@ -5,7 +5,6 @@ const ObservableStore = require('obs-store')
const ethUtil = require('ethereumjs-util')
const EthQuery = require('ethjs-query')
const TxProviderUtil = require('../lib/tx-utils')
-const getStack = require('../lib/util').getStack
const createId = require('../lib/random-id')
const NonceTracker = require('../lib/nonce-tracker')
@@ -105,8 +104,6 @@ module.exports = class TransactionController extends EventEmitter {
const txMetaForHistory = clone(txMeta)
// dont include previous history in this snapshot
delete txMetaForHistory.history
- // add stack to help understand why tx was updated
- txMetaForHistory.stack = getStack()
// add snapshot to tx history
if (!txMeta.history) txMeta.history = []
txMeta.history.push(txMetaForHistory)