Skip to content

Commit

Permalink
Merge pull request #4 from oscarbailey-tc/patch-1
Browse files Browse the repository at this point in the history
Fix typo in EmptyEnum UnmarshalWithDecoder
  • Loading branch information
gagliardetto committed Apr 13, 2022
2 parents be4993c + 8b7b4fe commit 8f1059c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion encoder_borsh.go
Expand Up @@ -262,7 +262,7 @@ func (_ *EmptyVariant) MarshalWithEncoder(_ *Encoder) error {
return nil
}

func (_ *EmptyVariant) UnmarshalWithEncoder(_ *Encoder) error {
func (_ *EmptyVariant) UnmarshalWithDecoder(_ *Decoder) error {
return nil
}

Expand Down

0 comments on commit 8f1059c

Please sign in to comment.