github.com/decred/dcrlnd@v0.7.6/fuzz/lnwire/reply_short_chan_ids_end.go (about)

     1  //go:build gofuzz
     2  // +build gofuzz
     3  
     4  package lnwirefuzz
     5  
     6  import (
     7  	"github.com/decred/dcrlnd/lnwire"
     8  )
     9  
    10  // Fuzz_reply_short_chan_ids_end is used by go-fuzz.
    11  func Fuzz_reply_short_chan_ids_end(data []byte) int {
    12  	// Prefix with MsgReplyShortChanIDsEnd.
    13  	data = prefixWithMsgType(data, lnwire.MsgReplyShortChanIDsEnd)
    14  
    15  	// Pass the message into our general fuzz harness for wire messages!
    16  	return harness(data)
    17  }