HomePhabricator

Avoid redundant calls to GetChainParams and GetConsensus in CChainState…

Description

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

Summary: As per title.

Test Plan:

make check

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D5154

Details

Provenance
deadalnixAuthored on Feb 4 2020, 14:58
deadalnixPushed on Feb 4 2020, 17:24
Reviewer
Restricted Project
Differential Revision
D5154: Avoid redundant calls to GetChainParams and GetConsensus in CChainState::AcceptBlock
Parents
rABCecfd419e5236: Fix the build with GCC < 8
Branches
Unknown
Tags
Unknown