Skip to content

Commit 35d8fa1

Browse files
committed
chore: fix wrong function name in comment
Signed-off-by: purelualight <purelualight@outlook.com>
1 parent a36af85 commit 35d8fa1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fsm/validator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ type nonSignerJSON struct {
656656
Counter uint64 `protobuf:"varint,2,opt,name=counter,proto3" json:"counter,omitempty"`
657657
}
658658

659-
// UnmarshalJSON() is the json.Unmarshaler implementation for the non signers object
659+
// MarshalJSON() is the json.MarshalJSON implementation for the non signers object
660660
func (x *NonSigner) MarshalJSON() (bz []byte, err error) {
661661
if x == nil {
662662
return nil, nil

0 commit comments

Comments
 (0)