diff --git a/pkg/owner/wallet.go b/pkg/owner/wallet.go index 80fb8898..8777cdef 100644 --- a/pkg/owner/wallet.go +++ b/pkg/owner/wallet.go @@ -10,7 +10,10 @@ import ( ) // NEO3Wallet represents NEO3 wallet address. -type NEO3Wallet [25]byte +type NEO3Wallet [NEO3WalletSize]byte + +// NEO3WalletSize contains size of neo3 wallet. +const NEO3WalletSize = 25 // NEO3WalletFromPublicKey converts public key to NEO3 wallet address. func NEO3WalletFromPublicKey(key *ecdsa.PublicKey) (*NEO3Wallet, error) {