diff --git a/envelopes.go b/envelopes.go index 9768131..41963df 100644 --- a/envelopes.go +++ b/envelopes.go @@ -257,7 +257,7 @@ func (v *CloseEnvelope) UnmarshalJSON(data []byte) error { func (v CloseEnvelope) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - w.RawString(`["CLOSED",`) + w.RawString(`["CLOSE",`) w.Raw(json.Marshal(string(v))) w.RawString(`]`) return w.BuildBytes()