Skip to content

Commit cfafdce

Browse files
committed
Move CandidateRouteHop enum variant fields into structs
The bindings generator struggles a bit with the references in enum variant fields in `CandidateRouteHop`. While we could probably fix this, its much eaiser (and less risky) to inline the enum variant fields from `CandidateRouteHop` into structs. This also lets us make some of the fields non-public, which seems better at least for the opaque `hint_idx` in the blinded paths.
1 parent 15b7f66 commit cfafdce

File tree

3 files changed

+224
-204
lines changed

3 files changed

+224
-204
lines changed

0 commit comments

Comments
 (0)