From 1af797b1b3a37d8fe00afbd0d84cb3349b8fd471 Mon Sep 17 00:00:00 2001 From: kumavis Date: Mon, 14 Aug 2017 19:15:36 -0700 Subject: tx controller - tx state history various small fixes --- app/scripts/migrations/018.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/scripts/migrations') 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 -- cgit v1.2.3