MCPcopy Create free account
hub / github.com/chain/txvm / MarshalJSON

Method MarshalJSON

crypto/ed25519/json.go:19–21  ·  view source on GitHub ↗

MarshalJSON satisfies the json.Marshaler interface.

()

Source from the content-addressed store, hash-verified

17
18// MarshalJSON satisfies the json.Marshaler interface.
19func (pub PublicKey) MarshalJSON() ([]byte, error) {
20 return json.Marshal(i10rjson.HexBytes(pub))
21}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected