mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 22:18:54 +01:00
scripted-diff: rename versionbitscache
-BEGIN VERIFY SCRIPT- sed -i -e 's/versionbitscache/g_versionbitscache/g' $(git grep -l versionbitscache) -END VERIFY SCRIPT-
This commit is contained in:
@@ -259,8 +259,8 @@ BOOST_AUTO_TEST_CASE(versionbits_test)
|
||||
/** Check that ComputeBlockVersion will set the appropriate bit correctly */
|
||||
static void check_computeblockversion(const Consensus::Params& params, Consensus::DeploymentPos dep)
|
||||
{
|
||||
// This implicitly uses versionbitscache, so clear it every time
|
||||
versionbitscache.Clear();
|
||||
// This implicitly uses g_versionbitscache, so clear it every time
|
||||
g_versionbitscache.Clear();
|
||||
|
||||
int64_t bit = params.vDeployments[dep].bit;
|
||||
int64_t nStartTime = params.vDeployments[dep].nStartTime;
|
||||
|
||||
Reference in New Issue
Block a user