From 11fa8767fbea183d94484b3d58813acdaec3ffb3 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 919f0740..7472b44b 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 &&