aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/migrations
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-08-15 10:15:36 +0800
committerkumavis <aaron@kumavis.me>2017-08-15 10:15:36 +0800
commit1af797b1b3a37d8fe00afbd0d84cb3349b8fd471 (patch)
treec608b208adb253cc8c0ba75dc588ecf00aa1196c /app/scripts/migrations
parentfec0f2ca5e4c2aabe657dfe0317365b06e7f665f (diff)
downloadtangerine-wallet-browser-1af797b1b3a37d8fe00afbd0d84cb3349b8fd471.tar
tangerine-wallet-browser-1af797b1b3a37d8fe00afbd0d84cb3349b8fd471.tar.gz
tangerine-wallet-browser-1af797b1b3a37d8fe00afbd0d84cb3349b8fd471.tar.bz2
tangerine-wallet-browser-1af797b1b3a37d8fe00afbd0d84cb3349b8fd471.tar.lz
tangerine-wallet-browser-1af797b1b3a37d8fe00afbd0d84cb3349b8fd471.tar.xz
tangerine-wallet-browser-1af797b1b3a37d8fe00afbd0d84cb3349b8fd471.tar.zst
tangerine-wallet-browser-1af797b1b3a37d8fe00afbd0d84cb3349b8fd471.zip
tx controller - tx state history various small fixes
Diffstat (limited to 'app/scripts/migrations')
-rw-r--r--app/scripts/migrations/018.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/migrations/018.js b/app/scripts/migrations/018.js
index c8d2332ab..41e7de391 100644
--- a/app/scripts/migrations/018.js
+++ b/app/scripts/migrations/018.js
@@ -32,7 +32,7 @@ function transformState (state) {
const transactions = newState.TransactionController.transactions
newState.TransactionController.transactions = transactions.map((txMeta) => {
// no history: initialize
- if (!txMeta.history || tx.history.length === 0) {
+ if (!txMeta.history || txMeta.history.length === 0) {
const snapshot = txStateHistoryHelper.snapshotFromTxMeta(txMeta)
txMeta.history = [snapshot]
return txMeta