From 2b267830b48e7cab31723581132345af46126944 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Fri, 20 Jul 2018 09:45:52 +0200 Subject: [PATCH] Fix duplicates between pending & non pending in Ripple --- src/bridge/RippleJSBridge.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bridge/RippleJSBridge.js b/src/bridge/RippleJSBridge.js index 969fb6cb..e6908fbb 100644 --- a/src/bridge/RippleJSBridge.js +++ b/src/bridge/RippleJSBridge.js @@ -417,6 +417,7 @@ const RippleJSBridge: WalletBridge = { const [last] = operations const pendingOperations = a.pendingOperations.filter( o => + !operations.some(op => o.hash === op.hash) && last && last.transactionSequenceNumber && o.transactionSequenceNumber &&