Browse Source
Merge pull request #1219 from gre/fix-ripple-pending-forever
Fix duplicates between pending & non pending in Ripple
master
Gaëtan Renaudeau
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
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 && |
|
|
|