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
parent
commit
2541b939cc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/bridge/LibcoreBridge.js

3
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

Loading…
Cancel
Save