Going once... going twice!

This commit is contained in:
Adam Ierymenko 2019-09-21 15:04:00 -07:00
parent 9934a856dd
commit bb53ee9567
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3
14 changed files with 393 additions and 640 deletions

View file

@ -48,7 +48,7 @@ func (m MAC) String() string {
// MarshalJSON marshals this MAC as a string
func (m MAC) MarshalJSON() ([]byte, error) {
return []byte(m.String()), nil
return []byte("\"" + m.String() + "\""), nil
}
// UnmarshalJSON unmarshals this MAC from a string