Skip to content

Commit

Permalink
Merge branch 'v0.8.2-beta-3804' into v0.8.2-beta-rc2-branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Roasbeef committed Dec 7, 2019
2 parents 87851c2 + 7ab4667 commit 0bc44ec
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions fundingmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -2348,9 +2348,6 @@ func (f *fundingManager) annAfterSixConfs(completeChan *channeldb.OpenChannel,
if fwdMaxHTLC > capacityMSat {
fwdMaxHTLC = capacityMSat
}
if fwdMaxHTLC > MaxPaymentMSat {
fwdMaxHTLC = MaxPaymentMSat
}

// Create and broadcast the proofs required to make this channel
// public and usable for other nodes for routing.
Expand Down
6 changes: 0 additions & 6 deletions peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -531,9 +531,6 @@ func (p *peer) loadActiveChannels(chans []*channeldb.OpenChannel) (
FeeRate: selfPolicy.FeeProportionalMillionths,
TimeLockDelta: uint32(selfPolicy.TimeLockDelta),
}
if forwardingPolicy.MaxHTLC > MaxPaymentMSat {
forwardingPolicy.MaxHTLC = MaxPaymentMSat
}
} else {
peerLog.Warnf("Unable to find our forwarding policy "+
"for channel %v, using default values",
Expand Down Expand Up @@ -1865,9 +1862,6 @@ out:
FeeRate: defaultPolicy.FeeRate,
TimeLockDelta: defaultPolicy.TimeLockDelta,
}
if forwardingPolicy.MaxHTLC > MaxPaymentMSat {
forwardingPolicy.MaxHTLC = MaxPaymentMSat
}

// Create the link and add it to the switch.
err = p.addLink(
Expand Down

0 comments on commit 0bc44ec

Please sign in to comment.