diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/lib/controllers/shapeshift.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/scripts/lib/controllers/shapeshift.js b/app/scripts/lib/controllers/shapeshift.js index ec27b37a0..fbdc2c180 100644 --- a/app/scripts/lib/controllers/shapeshift.js +++ b/app/scripts/lib/controllers/shapeshift.js @@ -37,7 +37,8 @@ class ShapeshiftController { const { shapeShiftTxList } = this.store.getState() const now = new Date().getTime() const old = shapeShiftTxList.find((tx) => { - return tx.time + TIMEOUT_LIMIT < now + return tx.time + TIMEOUT_LIMIT < now && + tx.response && tx.response.status === 'no_deposits' }) if (old) { old.forEach(tx => this.removeShapeShiftTx(tx)) |