routerrpc: clarify proto fields to be outgoing

This commit is contained in:
Joost Jager
2020-06-24 11:23:51 +02:00
parent cff52f7622
commit f6f8e3221b
4 changed files with 174 additions and 174 deletions

View File

@@ -157,9 +157,9 @@ func (r *forwardInterceptor) holdAndForwardToClient(
ChanId: inKey.ChanID.ToUint64(),
HtlcId: inKey.HtlcID,
},
HtlcPaymentHash: htlc.PaymentHash[:],
AmountMsat: uint64(htlc.Amount),
Expiry: htlc.Expiry,
HtlcPaymentHash: htlc.PaymentHash[:],
OutgoingAmountMsat: uint64(htlc.Amount),
OutgoingExpiry: htlc.Expiry,
}
return r.stream.Send(interceptionRequest)