File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -878,3 +878,25 @@ func FuzzInvalidOnionPayload(f *testing.F) {
878878 onionFailureHarness (t , data , CodeInvalidOnionPayload )
879879 })
880880}
881+
882+ func FuzzClosingSig (f * testing.F ) {
883+ f .Fuzz (func (t * testing.T , data []byte ) {
884+ // Prefix with ClosingSig.
885+ data = prefixWithMsgType (data , MsgClosingSig )
886+
887+ // Pass the message into our general fuzz harness for wire
888+ // messages!
889+ harness (t , data )
890+ })
891+ }
892+
893+ func FuzzClosingComplete (f * testing.F ) {
894+ f .Fuzz (func (t * testing.T , data []byte ) {
895+ // Prefix with ClosingComplete.
896+ data = prefixWithMsgType (data , MsgClosingComplete )
897+
898+ // Pass the message into our general fuzz harness for wire
899+ // messages!
900+ harness (t , data )
901+ })
902+ }
You can’t perform that action at this time.
0 commit comments