lnwire: add wire type for stfu

This commit is contained in:
Keagan McClelland committed 2024-08-05 17:22:56 -07:00
1 parent c262b1b5a5
commit 0176fca826
4 files changed
+107

No files matched your search

+11
View File
@@ -191,6 +191,17 @@ func FuzzWarning(f *testing.F) {
})
}
func FuzzStfu(f *testing.F) {
f.Fuzz(func(t *testing.T, data []byte) {
// Prefix with MsgStfu.
data = prefixWithMsgType(data, MsgStfu)
// Pass the message into our general fuzz harness for wire
// messages.
harness(t, data)
})
}
func FuzzFundingCreated(f *testing.F) {
f.Fuzz(func(t *testing.T, data []byte) {
// Prefix with MsgFundingCreated.