Page MenuHomePhabricator

[avalanche] Fix getdata log not showing stake contender inv type name
ClosedPublic

Authored by roqqit on Nov 22 2024, 18:30.

Details

Reviewers
PiRK
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Commits
rABC44ea0e528faf: [avalanche] Fix getdata log not showing stake contender inv type name
Summary

Turns out the "received getdata" log line only spits out hex if the inv type does not have an associated case in CInv::GetCommand(). This should be fixed for stake contenders because the hex is not only confusing but makes it more difficult to write tests for multiple inv types.

Test Plan
ninja check check-functional

Diff Detail

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