rpc: populate the expiry field within marshalRoute

This commit is contained in:
Olaoluwa Osuntokun 2017-08-02 21:18:15 -07:00
parent 79e68a2fdf
commit a709164aef
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2

@ -1923,6 +1923,7 @@ func marshalRoute(route *routing.Route) *lnrpc.Route {
ChanCapacity: int64(hop.Channel.Capacity), ChanCapacity: int64(hop.Channel.Capacity),
AmtToForward: int64(hop.AmtToForward), AmtToForward: int64(hop.AmtToForward),
Fee: int64(hop.Fee), Fee: int64(hop.Fee),
Expiry: uint32(hop.OutgoingTimeLock),
} }
} }