From a709164aefd3539c0e34afa8efed3db7982c2faa Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 2 Aug 2017 21:18:15 -0700 Subject: [PATCH] rpc: populate the expiry field within marshalRoute --- rpcserver.go | 1 + 1 file changed, 1 insertion(+) diff --git a/rpcserver.go b/rpcserver.go index ceb33c6d..5d947c59 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -1923,6 +1923,7 @@ func marshalRoute(route *routing.Route) *lnrpc.Route { ChanCapacity: int64(hop.Channel.Capacity), AmtToForward: int64(hop.AmtToForward), Fee: int64(hop.Fee), + Expiry: uint32(hop.OutgoingTimeLock), } }