diff --git a/encoder_borsh.go b/encoder_borsh.go index f9917f7..728af55 100644 --- a/encoder_borsh.go +++ b/encoder_borsh.go @@ -262,7 +262,7 @@ func (_ *EmptyVariant) MarshalWithEncoder(_ *Encoder) error { return nil } -func (_ *EmptyVariant) UnmarshalWithEncoder(_ *Encoder) error { +func (_ *EmptyVariant) UnmarshalWithDecoder(_ *Decoder) error { return nil }