Skip to content

Commit

Permalink
Fixed compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
maoueh committed Dec 17, 2024
1 parent ef6ce68 commit cfb7e8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json/marshallers.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ func Encoder(bytesEncoding string) func([]byte) string {
panic(fmt.Errorf("unsupported bytes encoding: %s", bytesEncoding))
}

func jsonEncoder(bytesEncoding string) jsonEncoderFunc {
func jsonEncoder(bytesEncoding string) CustomEncoderFunc {
switch {
case strings.EqualFold(bytesEncoding, "base58"):
return ToBase58
Expand Down

0 comments on commit cfb7e8a

Please sign in to comment.