Page MenuHomePhabricator

wallet: Initialize stop_block to nullptr in ScanForWalletTransactions
ClosedPublic

Authored by Fabien on Mar 25 2020, 17:16.

Details

Summary
Previously the argument would be untouched if the first block scan
failed. This makes the behavior predictable, and consistent with the
documentation.

Backport of core PR14957 and the remaining of PR15321 (see D5238).

Depends on D5563.

Test Plan

With Clang:

cmake -GNinja .. -DCMAKE_BUILD_TYPE=Debug -DENABLE_WERROR=ON
ninja all check check-functional

Diff Detail

Repository
rABC Bitcoin ABC
Branch
PR14957
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 9966
Build 17784: Default Diff Build & Tests
Build 17783: arc lint + arc unit

Event Timeline

[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 25 2020, 19:02