mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 14:22:37 +01:00
peer: set FeeEstimator in ChannelLinkConfig when creating link
This commit is contained in:
parent
caf824bbc4
commit
56632235fd
1 changed files with 2 additions and 0 deletions
2
peer.go
2
peer.go
|
@ -399,6 +399,7 @@ func (p *peer) loadActiveChannels(chans []*channeldb.OpenChannel) error {
|
||||||
Registry: p.server.invoices,
|
Registry: p.server.invoices,
|
||||||
Switch: p.server.htlcSwitch,
|
Switch: p.server.htlcSwitch,
|
||||||
FwrdingPolicy: *forwardingPolicy,
|
FwrdingPolicy: *forwardingPolicy,
|
||||||
|
FeeEstimator: p.server.cc.feeEstimator,
|
||||||
BlockEpochs: blockEpoch,
|
BlockEpochs: blockEpoch,
|
||||||
SyncStates: true,
|
SyncStates: true,
|
||||||
}
|
}
|
||||||
|
@ -1223,6 +1224,7 @@ out:
|
||||||
Registry: p.server.invoices,
|
Registry: p.server.invoices,
|
||||||
Switch: p.server.htlcSwitch,
|
Switch: p.server.htlcSwitch,
|
||||||
FwrdingPolicy: p.server.cc.routingPolicy,
|
FwrdingPolicy: p.server.cc.routingPolicy,
|
||||||
|
FeeEstimator: p.server.cc.feeEstimator,
|
||||||
BlockEpochs: blockEpoch,
|
BlockEpochs: blockEpoch,
|
||||||
SyncStates: false,
|
SyncStates: false,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue