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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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