routerrpc: remove redundant htlc prefix from proto field

The message name already sets the context to an htlc.
This commit is contained in:
Joost Jager
2020-06-24 11:24:26 +02:00
parent f6f8e3221b
commit 607927634d
4 changed files with 163 additions and 163 deletions

View File

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