MarshalJSON satisfies the json.Marshaler interface.
()
| 17 | |
| 18 | // MarshalJSON satisfies the json.Marshaler interface. |
| 19 | func (pub PublicKey) MarshalJSON() ([]byte, error) { |
| 20 | return json.Marshal(i10rjson.HexBytes(pub)) |
| 21 | } |
nothing calls this directly
no outgoing calls
no test coverage detected