mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-21 14:04:06 +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,
|
||||
Switch: p.server.htlcSwitch,
|
||||
FwrdingPolicy: *forwardingPolicy,
|
||||
FeeEstimator: p.server.cc.feeEstimator,
|
||||
BlockEpochs: blockEpoch,
|
||||
SyncStates: true,
|
||||
}
|
||||
|
@ -1223,6 +1224,7 @@ out:
|
|||
Registry: p.server.invoices,
|
||||
Switch: p.server.htlcSwitch,
|
||||
FwrdingPolicy: p.server.cc.routingPolicy,
|
||||
FeeEstimator: p.server.cc.feeEstimator,
|
||||
BlockEpochs: blockEpoch,
|
||||
SyncStates: false,
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue