lightningnetwork / lightning-onion

Onion Routed Micropayments for the Lightning Network
MIT License
396 stars 125 forks source link

sphinx: remove unused members of Router #62

Closed ellemouton closed 2 weeks ago

ellemouton commented 3 weeks ago

By removing the unused members of the Router, we can remove the network parameter from NewRouter which will make it easier to instantiate the Router in other packages.

This will simplify the code for route blinding receives a bit simpler.

ellemouton commented 3 weeks ago

cc @ziggie1984 & @bitromortac

Tiny one that will make the 2nd Route blinding PR cleaner :)

ellemouton commented 3 weeks ago

thanks y'all! 🚀

cc @Roasbeef for merge 🙏