lnwire: add wire type for stfu

This commit is contained in:
Keagan McClelland
2023-12-06 16:44:59 -08:00
parent c262b1b5a5
commit 0176fca826
4 changed files with 107 additions and 0 deletions

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.