aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-08-04 03:39:55 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-08-04 03:39:55 +0800
commitdce593fd7bbe1848b8744e3911f24d9ac2fa1bf7 (patch)
treec54e37ff927f00ba7879f14b664ea495e7128e91
parent8a9d0073b1d6b959e9374180e2f52d12ea8319ca (diff)
downloadtangerine-wallet-browser-dce593fd7bbe1848b8744e3911f24d9ac2fa1bf7.tar
tangerine-wallet-browser-dce593fd7bbe1848b8744e3911f24d9ac2fa1bf7.tar.gz
tangerine-wallet-browser-dce593fd7bbe1848b8744e3911f24d9ac2fa1bf7.tar.bz2
tangerine-wallet-browser-dce593fd7bbe1848b8744e3911f24d9ac2fa1bf7.tar.lz
tangerine-wallet-browser-dce593fd7bbe1848b8744e3911f24d9ac2fa1bf7.tar.xz
tangerine-wallet-browser-dce593fd7bbe1848b8744e3911f24d9ac2fa1bf7.tar.zst
tangerine-wallet-browser-dce593fd7bbe1848b8744e3911f24d9ac2fa1bf7.zip
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)