lnwire: add onion message type
This message type is a message that carries an onion-encrypted payload used for BOLT12 messages.
This commit is contained in:
1 parent
c08f918ffc
commit
cb2d8abe40
4 files changed
+114
No files matched your search
@@ -498,6 +498,12 @@ func FuzzCustomMessage(f *testing.F) {
|
||||
})
|
||||
}
|
||||
|
||||
func FuzzOnionMessage(f *testing.F) {
|
||||
f.Fuzz(func(t *testing.T, data []byte) {
|
||||
wireMsgHarness(t, data, MsgOnionMessage)
|
||||
})
|
||||
}
|
||||
|
||||
// FuzzParseRawSignature tests that our DER-encoded signature parsing does not
|
||||
// panic for arbitrary inputs and that serializing and reparsing the signatures
|
||||
// does not mutate them.
|
||||
|
||||
Reference in new issue
Block a user