Skip to content

Commit

Permalink
routerrpc: clarify proto fields to be outgoing
Browse files Browse the repository at this point in the history
  • Loading branch information
joostjager committed Jun 27, 2020
1 parent cff52f7 commit f6f8e32
Show file tree
Hide file tree
Showing 4 changed files with 174 additions and 174 deletions.
6 changes: 3 additions & 3 deletions lnrpc/routerrpc/forward_interceptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading

0 comments on commit f6f8e32

Please sign in to comment.