MCPcopy Create free account
hub / github.com/DNAProject/DNA / GetAccountKey

Function GetAccountKey

cmd/sigsvr/store/common.go:69–71  ·  view source on GitHub ↗
(address string)

Source from the content-addressed store, hash-verified

67}
68
69func GetAccountKey(address string) []byte {
70 return append([]byte{WALLET_ACCOUNT_PREFIX}, []byte(address)...)
71}
72
73func GetWalletExtraKey() []byte {
74 return []byte{WALLET_EXTRA_PREFIX}

Callers 3

AddAccountDataMethod · 0.85
IsAccountExistMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected