rpc: populate the expiry field within marshalRoute
This commit is contained in:
parent
79e68a2fdf
commit
a709164aef
@ -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),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user