Skip to content

Commit

Permalink
fix golint
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilGeorgiev committed May 14, 2024
1 parent 40fed6a commit 804e649
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions fuzz/oss-fuzz-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ go get github.com/AdamKorcz/go-118-fuzz-build/testing
# because of the separate query_test package.
# compile_native_go_fuzzer "$FUZZ_ROOT"/types/query FuzzPagination fuzz_types_query_pagination
compile_native_go_fuzzer "$FUZZ_ROOT"/types FuzzCoinUnmarshalJSON fuzz_types_coin_unmarshal_json
compile_native_go_fuzzer "$FUZZ_ROOT"/types FuzzBech32AccAddrConsistencyYAML fuzz_types_bech32_acc_addr_consistency_yaml

build_go_fuzzer FuzzCryptoHDDerivePrivateKeyForPath fuzz_crypto_hd_deriveprivatekeyforpath
build_go_fuzzer FuzzCryptoHDNewParamsFromPath fuzz_crypto_hd_newparamsfrompath
Expand Down
3 changes: 1 addition & 2 deletions types/address_fuzz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package types_test
import (
"encoding/hex"
"testing"

"github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/require"
)
Expand All @@ -21,7 +21,6 @@ func FuzzBech32AccAddrConsistencyYAML(f *testing.F) {
acc := types.AccAddress(input)
res := &types.AccAddress{}

testMarshalYAML(t, &acc, res, acc.MarshalYAML, res.UnmarshalYAML)
testMarshalYAML(t, &acc, res, acc.MarshalYAML, res.UnmarshalYAML)

str := acc.String()
Expand Down

0 comments on commit 804e649

Please sign in to comment.