Browse Source

Fix duplicates between pending & non pending in Ripple

master
Gaëtan Renaudeau 7 years ago
parent
commit
2b267830b4
  1. 1
      src/bridge/RippleJSBridge.js

1
src/bridge/RippleJSBridge.js

@ -417,6 +417,7 @@ const RippleJSBridge: WalletBridge<Transaction> = {
const [last] = operations
const pendingOperations = a.pendingOperations.filter(
o =>
!operations.some(op => o.hash === op.hash) &&
last &&
last.transactionSequenceNumber &&
o.transactionSequenceNumber &&

Loading…
Cancel
Save