diff --git a/peer.go b/peer.go index 2545ead8..1e4f2bc2 100644 --- a/peer.go +++ b/peer.go @@ -1398,7 +1398,7 @@ func (p *peer) handleUpstreamMsg(state *commitmentState, msg lnwire.Message) { p.queueMsg(settleMsg, nil) delete(state.htlcsToSettle, htlc.Index) - bandwidthUpdate += invoice.Terms.Value + bandwidthUpdate += htlc.Amount settledPayments[htlc.RHash] = struct{}{} numSettled++