mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-15 03:51:23 +01:00
rpc: populate the expiry field within marshalRoute
This commit is contained in:
parent
79e68a2fdf
commit
a709164aef
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue