Page MenuHomePhabricator

refactor: remove redundant fOnlySafe argument
ClosedPublic

Authored by PiRK on Aug 24 2023, 11:59.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCe7d6ef1fdb2f: refactor: remove redundant fOnlySafe argument
Summary

The fOnlySafe argument to AvailableCoins is now redundant, since #21359
added a similar field inside the CCoinControl struct.

Not all code paths set a CCoinControl instance, but when it's missing we
can default to using only safe inputs which is backwards-compatible.

This is a backport of core#21910

Depends on D14403

Test Plan

ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable