wallet2: don't wait a day before using new version fees

30 blocks should be more than enough to drain the txpool of
transactions made with the old fee scheme
pull/326/head
moneromooo-monero 5 years ago
parent 581994b61c
commit e4d100b062
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -6919,7 +6919,7 @@ uint64_t wallet2::get_base_fee() const
else
return m_light_wallet_per_kb_fee;
}
bool use_dyn_fee = use_fork_rules(HF_VERSION_DYNAMIC_FEE, -720 * 1);
bool use_dyn_fee = use_fork_rules(HF_VERSION_DYNAMIC_FEE, -30 * 1);
if (!use_dyn_fee)
return FEE_PER_KB;
@ -6950,7 +6950,7 @@ int wallet2::get_fee_algorithm() const
return 3;
if (use_fork_rules(5, 0))
return 2;
if (use_fork_rules(3, -720 * 14))
if (use_fork_rules(3, -30 * 14))
return 1;
return 0;
}

Loading…
Cancel
Save