Page MenuHomePhabricator

refactor: Pass block reference instead of pointer to PeerManagerImpl::BlockRequested
ClosedPublic

Authored by PiRK on Dec 1 2022, 08:56.

Details

Summary

This allows to remove an assert and at the same time make it more obvious that the block is never nullptr.

This is a backport of core#22221

Test Plan

ninja all check-all

Diff Detail

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