[#147] Work around owner package
Add NEO3WalletSize as constant value. closes #147 Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
This commit is contained in:
parent
20273357f6
commit
e2d8f408d8
1 changed files with 4 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue