diff options
Diffstat (limited to 'app/scripts/migrations/019.js')
-rw-r--r-- | app/scripts/migrations/019.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/migrations/019.js b/app/scripts/migrations/019.js index 46a56d90..00e35c5d 100644 --- a/app/scripts/migrations/019.js +++ b/app/scripts/migrations/019.js @@ -39,12 +39,12 @@ function transformState (state) { const confirmedTxs = txList.filter((tx) => tx.status === 'confirmed') .filter((tx) => tx.txParams.from === txMeta.txParams.from) - .filter((tx) => tx.metamaskNetworkId.from === txMeta.metamaskNetworkId.from) + .filter((tx) => tx.dekusanNetworkId.from === txMeta.dekusanNetworkId.from) const highestConfirmedNonce = getHighestNonce(confirmedTxs) const pendingTxs = txList.filter((tx) => tx.status === 'submitted') .filter((tx) => tx.txParams.from === txMeta.txParams.from) - .filter((tx) => tx.metamaskNetworkId.from === txMeta.metamaskNetworkId.from) + .filter((tx) => tx.dekusanNetworkId.from === txMeta.dekusanNetworkId.from) const highestContinuousNonce = getHighestContinuousFrom(pendingTxs, highestConfirmedNonce) const maxNonce = Math.max(highestContinuousNonce, highestConfirmedNonce) |