mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-21 22:31:48 +01:00
do not start fee estimation loop with option: --dev-override-fee-rates
This commit is contained in:
parent
d309a7d1b9
commit
795e0e1b21
1 changed files with 10 additions and 1 deletions
|
@ -727,8 +727,17 @@ void setup_topology(struct chain_topology *topo,
|
|||
|
||||
void begin_topology(struct chain_topology *topo)
|
||||
{
|
||||
/* Begin fee estimation. */
|
||||
#if DEVELOPER
|
||||
if (topo->dev_override_fee_rate) {
|
||||
log_info(topo->log, "Fee estimation disabled because: "
|
||||
"--dev-override-fee-rates");
|
||||
} else {
|
||||
/* Begin fee estimation. */
|
||||
start_fee_estimate(topo);
|
||||
}
|
||||
#else
|
||||
start_fee_estimate(topo);
|
||||
#endif
|
||||
|
||||
try_extend_tip(topo);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue