Page MenuHomePhabricator

Merge #13265: wallet: Exit SyncMetaData if there are no transactions to sync
ClosedPublic

Authored by nakihito on Mar 5 2020, 20:14.

Details

Summary

b0d2ca9fb66d793e3c0f2e6ede811f1b16c33a9f wallet: Exit SyncMetaData if there are no transactions to sync (Wladimir J. van der Laan)

Pull request description:

Instead of crash with an assertion error, simply exit the function `SyncMetaData` if there is no metadata to sync.

Fixes #13110.

Tree-SHA512: 44c4789497b5b63963bef66d8b695987dde80764199f6ea0f2c974be19d29c2663f32446a663a2ee9029e143e5d1d9e8a591e52e6e7e795b982782626bec25bb

Backport of Core PR13265

This skips PR11074 and should avoid the issue found here: https://github.com/bitcoin/bitcoin/issues/13110/

Test Plan
ninja check
./bitcoin-qt

Diff Detail

Repository
rABC Bitcoin ABC
Branch
PR13265
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 9737
Build 17361: Default Diff Build & Tests
Build 17360: arc lint + arc unit

Event Timeline

Owners added a reviewer: Restricted Owners Package.Mar 5 2020, 20:14

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

This revision is now accepted and ready to land.Mar 5 2020, 23:15