Page MenuHomePhabricator

util: add ParseUInt16(), use it in SplitHostPort()
ClosedPublic

Authored by PiRK on Feb 18 2022, 17:00.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCc38178957acb: util: add ParseUInt16(), use it in SplitHostPort()
Summary
Test Plan

ninja all check-all bitcoin-fuzzers

Diff Detail

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

Event Timeline

PiRK requested review of this revision.Feb 18 2022, 17:00
Fabien requested changes to this revision.Feb 18 2022, 18:05
Fabien added a subscriber: Fabien.
Fabien added inline comments.
src/util/strencodings.cpp
364 ↗(On Diff #32441)

This is missing a unit test

This revision now requires changes to proceed.Feb 18 2022, 18:05
PiRK edited the summary of this revision. (Show Details)

squash with core#21488

src/test/util_tests.cpp
1769 ↗(On Diff #32446)

This line is duplicated ? Looks like the case also in the PR, can you check if this was fixed ?

This revision is now accepted and ready to land.Feb 21 2022, 09:19