Page MenuHomePhabricator

refactor: Remove ::Params() global from inside CChainState member functions
ClosedPublic

Authored by PiRK on Oct 10 2022, 13:58.

Details

Summary

It is confusing and verbose to repeatedly access the global when a
member variable can simply refer to it.

This is a backport of core#21789 [1/2]
https://github.com/bitcoin/bitcoin/pull/21789/commits/fa389471251f043ec25e7b01e59b37d3b921ce54

Test Plan

ninja all check-all

Diff Detail

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