lnd: use a single instance of a FeeEstimator daemon-wide

This commit is contained in:
Olaoluwa Osuntokun committed 2017-05-16 19:11:49 -07:00
1 parent 8b432f8ca6
commit 75858a604a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -305,7 +305,7 @@ func newServer(listenAddrs []string, notifier chainntnfs.ChainNotifier,
if chanID.IsChanPoint(channel.ChanID) {
return lnwallet.NewLightningChannel(
wallet.Signer, notifier,
lnwallet.StaticFeeEstimator{FeeRate: 250},
s.feeEstimator,
channel)
}
}