mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2025-12-19 07:04:25 +01:00
rpc: populate the expiry field within marshalRoute
This commit is contained in:
@@ -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),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user