Page MenuHomePhabricator

refactor: use convenience fn to auto parse non-string parameters
ClosedPublic

Authored by Fabien on Jun 5 2024, 20:19.

Details

Summary
Minimizes code duplication and improves function naming by having
a single (overloaded) convenience function that both checks if
the parameter is a non-string parameter and automatically parses the
value if so.

Backport of core#26506.

Test Plan
ninja all check-all

Diff Detail

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