lnd/routing/route
Conner Fromknecht 947cc50c13
routing/route/route: prevent modification of hop.TLVRecords
Currently the underlying array backing the hop's TLVRecords is modified
when combining custom records with the primitive forwarding info. This
commit uses a fresh slice to prevent modifications from mutating the
hop itself.
2019-09-04 14:14:34 -07:00
..
route_test.go route test: add a simple unit test for the TotalFees method 2019-05-28 11:16:34 +02:00
route.go routing/route/route: prevent modification of hop.TLVRecords 2019-09-04 14:14:34 -07:00