forked from TrueCloudLab/frostfs-sdk-go
[#134] owner: Fix doc comments
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
47e8527ffb
commit
5ed064eba5
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ func NewIDFromPublicKey(pub *ecdsa.PublicKey) *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 {
|
||||
return NewIDFromPublicKey(
|
||||
(*ecdsa.PublicKey)(acc.PrivateKey().PublicKey()))
|
||||
|
|
Loading…
Reference in a new issue