mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-05-24 16:19:50 +08:00
fix comments from PR review
This commit is contained in:
@@ -994,7 +994,6 @@ pub fn handle_contract_call_special_cases(
|
||||
} else if *contract_id == boot_code_id(POX_2_NAME, global_context.mainnet) {
|
||||
if !is_pox_v2_read_only(function_name) && global_context.epoch_id >= StacksEpochId::Epoch22
|
||||
{
|
||||
// NOTE: get-pox-info is read-only, so it can call old pox v1 stuff
|
||||
warn!("PoX-2 function call attempted on an account after Epoch 2.2";
|
||||
"v2_unlock_ht" => global_context.database.get_v2_unlock_height(),
|
||||
"current_burn_ht" => global_context.database.get_current_burnchain_block_height(),
|
||||
|
||||
@@ -521,9 +521,7 @@ fn disable_pox() {
|
||||
(burn_pox_addr.clone(), 1),
|
||||
]),
|
||||
),
|
||||
// Epoch 2.2 has started, so the reward set should be fixed.
|
||||
// pox_addr_2 should get 1 extra slot, because stack-increase
|
||||
// did increase their stacked amount
|
||||
// Epoch 2.2 has started, so the reward set should be all burns.
|
||||
(26, HashMap::from([(burn_pox_addr.clone(), 14)])),
|
||||
(27, HashMap::from([(burn_pox_addr.clone(), 14)])),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user