mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-28 02:33:22 +01:00
lnwire: add fuzz target for route blinding message
Add a simple decode/encode target for the FailInvalidBlinding message.
This commit is contained in:
parent
2784da13f8
commit
b82ae51a0b
@ -995,6 +995,12 @@ func FuzzInvalidOnionPayload(f *testing.F) {
|
||||
})
|
||||
}
|
||||
|
||||
func FuzzFailInvalidBlinding(f *testing.F) {
|
||||
f.Fuzz(func(t *testing.T, data []byte) {
|
||||
onionFailureHarness(t, data, CodeInvalidBlinding)
|
||||
})
|
||||
}
|
||||
|
||||
func FuzzClosingSig(f *testing.F) {
|
||||
f.Fuzz(func(t *testing.T, data []byte) {
|
||||
// Prefix with ClosingSig.
|
||||
|
Loading…
x
Reference in New Issue
Block a user