Lite wallet server
https://hush.is
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
322 B
15 lines
322 B
// Copyright (c) 2019-2024 Duke Leto and The Hush developers
|
|
// Copyright (c) 2019-2020 The Zcash developers
|
|
// Distributed under the GPLv3 software license
|
|
// +build gofuzz
|
|
|
|
package parser
|
|
|
|
func Fuzz(data []byte) int {
|
|
block := NewBlock()
|
|
_, err := block.ParseFromSlice(data)
|
|
if err != nil {
|
|
return 0
|
|
}
|
|
return 1
|
|
}
|
|
|