wallet: bring forward use of the dynamic fee

It was 14 days after v4, it is now one day after it.

luigi1111's suggestion
This commit is contained in:
moneromooo-monero 2016-12-10 15:39:26 +00:00
parent 2d0fbaf35b
commit c5c45ca660
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -3186,7 +3186,7 @@ uint64_t wallet2::get_dynamic_per_kb_fee_estimate()
//---------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------
uint64_t wallet2::get_per_kb_fee() uint64_t wallet2::get_per_kb_fee()
{ {
bool use_dyn_fee = use_fork_rules(HF_VERSION_DYNAMIC_FEE, -720 * 14); bool use_dyn_fee = use_fork_rules(HF_VERSION_DYNAMIC_FEE, -720 * 1);
if (!use_dyn_fee) if (!use_dyn_fee)
return FEE_PER_KB; return FEE_PER_KB;
try try