File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 14
14
#include < txmempool.h>
15
15
#include < univalue.h>
16
16
#include < util/fees.h>
17
+ #include < validationinterface.h>
17
18
18
19
#include < algorithm>
19
20
#include < array>
@@ -67,6 +68,7 @@ static RPCHelpMan estimatesmartfee()
67
68
const NodeContext& node = EnsureAnyNodeContext (request.context );
68
69
const CTxMemPool& mempool = EnsureMemPool (node);
69
70
71
+ SyncWithValidationInterfaceQueue ();
70
72
unsigned int max_target = fee_estimator.HighestTargetTracked (FeeEstimateHorizon::LONG_HALFLIFE);
71
73
unsigned int conf_target = ParseConfirmTarget (request.params [0 ], max_target);
72
74
bool conservative = true ;
@@ -155,6 +157,7 @@ static RPCHelpMan estimaterawfee()
155
157
{
156
158
CBlockPolicyEstimator& fee_estimator = EnsureAnyFeeEstimator (request.context );
157
159
160
+ SyncWithValidationInterfaceQueue ();
158
161
unsigned int max_target = fee_estimator.HighestTargetTracked (FeeEstimateHorizon::LONG_HALFLIFE);
159
162
unsigned int conf_target = ParseConfirmTarget (request.params [0 ], max_target);
160
163
double threshold = 0.95 ;
You can’t perform that action at this time.
0 commit comments