mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-05 04:30:16 +02:00
lnd: use a single instance of a FeeEstimator daemon-wide
This commit is contained in:
parent
8b432f8ca6
commit
75858a604a
@ -688,7 +688,7 @@ func (r *rpcServer) fetchActiveChannel(chanPoint wire.OutPoint) (*lnwallet.Light
|
||||
// Otherwise, we create a fully populated channel state machine which
|
||||
// uses the db channel as backing storage.
|
||||
return lnwallet.NewLightningChannel(r.server.lnwallet.Signer, nil,
|
||||
lnwallet.StaticFeeEstimator{FeeRate: 250}, dbChan)
|
||||
r.server.feeEstimator, dbChan)
|
||||
}
|
||||
|
||||
// forceCloseChan executes a unilateral close of the target channel by
|
||||
|
Loading…
x
Reference in New Issue
Block a user