MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / NewAccountAddress

Function NewAccountAddress

cmd/cql-proxy/utils/account.go:39–41  ·  view source on GitHub ↗

NewAccountAddress returns new wrapper object of proto.AccountAddress.

(d proto.AccountAddress)

Source from the content-addressed store, hash-verified

37
38// NewAccountAddress returns new wrapper object of proto.AccountAddress.
39func NewAccountAddress(d proto.AccountAddress) AccountAddress {
40 return AccountAddress(d.String())
41}

Callers 3

AddNewPrivateKeyFunction · 0.92
SavePrivateKeyFunction · 0.92
SetMethod · 0.85

Calls 2

AccountAddressTypeAlias · 0.70
StringMethod · 0.45

Tested by

no test coverage detected