mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-22 14:34:59 +02:00
selectHopHints is the function which constructs hophints otherwise found in an invoice created with the private flag. In this commit, we expose that functionality a little more to workaround needing to create an invoice to retrieve routing hints. Of course, this is not a perfect solution as the functionality is exposed exclusively to go users.