[#134] owner: Fix doc comments

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2022-02-24 15:21:46 +03:00 committed by LeL
parent 47e8527ffb
commit 5ed064eba5

View file

@ -77,7 +77,7 @@ func NewIDFromPublicKey(pub *ecdsa.PublicKey) *ID {
return id return id
} }
// NewIDFromPublicKey creates new owner identity from N3 wallet account. // NewIDFromN3Account creates new owner identity from N3 wallet account.
func NewIDFromN3Account(acc *wallet.Account) *ID { func NewIDFromN3Account(acc *wallet.Account) *ID {
return NewIDFromPublicKey( return NewIDFromPublicKey(
(*ecdsa.PublicKey)(acc.PrivateKey().PublicKey())) (*ecdsa.PublicKey)(acc.PrivateKey().PublicKey()))