aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib/tx-state-history-helper.js
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/lib/tx-state-history-helper.js
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/lib/tx-state-history-helper.js')
-rw-r--r--app/scripts/lib/tx-state-history-helper.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/lib/tx-state-history-helper.js b/app/scripts/lib/tx-state-history-helper.js
index 87b9a1d63..304069d57 100644
--- a/app/scripts/lib/tx-state-history-helper.js
+++ b/app/scripts/lib/tx-state-history-helper.js
@@ -15,7 +15,7 @@ function migrateFromSnapshotsToDiffs(longHistory) {
// convert non-initial history entries into diffs
.map((entry, index) => {
if (index === 0) return entry
- return generateHistoryEntry(longHistory[index-1], entry)
+ return generateHistoryEntry(longHistory[index - 1], entry)
})
)
}