Browse Source
Merge pull request #1060 from meriadec/fix/1000-unconfirmed-tx
Always patch operations if some contained `blockHeight: null`
master
Meriadec Pillet
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
src/bridge/LibcoreBridge.js
|
|
@ -138,7 +138,8 @@ const LibcoreBridge: WalletBridge<Transaction> = { |
|
|
|
(accountOps.length > 0 && |
|
|
|
syncedOps.length > 0 && |
|
|
|
(accountOps[0].accountId !== syncedOps[0].accountId || |
|
|
|
accountOps[0].id !== syncedOps[0].id)) // if same size, only check if the last item has changed.
|
|
|
|
accountOps[0].id !== syncedOps[0].id || // if same size, only check if the last item has changed.
|
|
|
|
accountOps[0].blockHeight !== syncedOps[0].blockHeight)) |
|
|
|
|
|
|
|
if (hasChanged) { |
|
|
|
patch.operations = syncedAccount.operations |
|
|
|