mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-02-20 14:04:23 +01:00
peer: set max htlc when loading active channels on start
This commit is contained in:
1
peer.go
1
peer.go
@@ -480,6 +480,7 @@ func (p *peer) loadActiveChannels(chans []*channeldb.OpenChannel) error {
|
||||
if selfPolicy != nil {
|
||||
forwardingPolicy = &htlcswitch.ForwardingPolicy{
|
||||
MinHTLC: selfPolicy.MinHTLC,
|
||||
MaxHTLC: selfPolicy.MaxHTLC,
|
||||
BaseFee: selfPolicy.FeeBaseMSat,
|
||||
FeeRate: selfPolicy.FeeProportionalMillionths,
|
||||
TimeLockDelta: uint32(selfPolicy.TimeLockDelta),
|
||||
|
||||
Reference in New Issue
Block a user