mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-26 00:27:53 +02:00
routing: add additional validation to hop payload creation
This commit is contained in:
@@ -170,7 +170,7 @@ func TestNoForwardingParams(t *testing.T) {
|
||||
}
|
||||
|
||||
var b bytes.Buffer
|
||||
err := hop.PackHopPayload(&b, 2, false)
|
||||
err := hop.PackHopPayload(&b, 0, false)
|
||||
require.NoError(t, err)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user