@@ -1240,21 +1240,21 @@ static RPCHelpMan verifychain()
1240
1240
};
1241
1241
}
1242
1242
1243
- static void BuriedForkDescPushBack (UniValue& softforks, const std::string &name, int height , int active_tip_nheight ) EXCLUSIVE_LOCKS_REQUIRED(cs_main)
1243
+ static void BuriedForkDescPushBack (UniValue& softforks, const std::string &name, int softfork_height , int tip_height ) EXCLUSIVE_LOCKS_REQUIRED(cs_main)
1244
1244
{
1245
1245
// For buried deployments.
1246
1246
// A buried deployment is one where the height of the activation has been hardcoded into
1247
1247
// the client implementation long after the consensus change has activated. See BIP 90.
1248
1248
// Buried deployments with activation height value of
1249
1249
// std::numeric_limits<int>::max() are disabled and thus hidden.
1250
- if (height == std::numeric_limits<int >::max ()) return ;
1250
+ if (softfork_height == std::numeric_limits<int >::max ()) return ;
1251
1251
1252
1252
UniValue rv (UniValue::VOBJ);
1253
1253
rv.pushKV (" type" , " buried" );
1254
1254
// getblockchaininfo reports the softfork as active from when the chain height is
1255
1255
// one below the activation height
1256
- rv.pushKV (" active" , active_tip_nheight + 1 >= height );
1257
- rv.pushKV (" height" , height );
1256
+ rv.pushKV (" active" , tip_height + 1 >= softfork_height );
1257
+ rv.pushKV (" height" , softfork_height );
1258
1258
softforks.pushKV (name, rv);
1259
1259
}
1260
1260
0 commit comments