Page MenuHomePhabricator

Avoid redundant calls to GetChainParams and GetConsensus in CChainState::AcceptBlock
ClosedPublic

Authored by deadalnix on Tue, Feb 4, 15:15.

Details

Summary

As per title.

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

deadalnix created this revision.Tue, Feb 4, 15:15
Herald added a reviewer: Restricted Project. · View Herald TranscriptTue, Feb 4, 15:15
jasonbcox accepted this revision.Tue, Feb 4, 16:32
This revision is now accepted and ready to land.Tue, Feb 4, 16:32