Page MenuHomePhabricator

Remove unused raw-pointer read helper from univalue
ClosedPublic

Authored by Fabien on Wed, Jun 5, 21:31.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABCd3460c587e60: Remove unused raw-pointer read helper from univalue
Summary
The helpers are unused outside of tests and redundant with the existing bool read(std::string_view raw);.

Fix both issues by removing them.

Also, simplify the tests code by removing a std::string constructor where possible.

Backport of core#28168.

Depends on D16295.

Test Plan
ninja all check

Diff Detail

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