[#1] Update comment lines
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
This commit is contained in:
parent
3fbad97ae4
commit
1406f57bba
1 changed files with 0 additions and 2 deletions
|
@ -7,8 +7,6 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *ServiceClientGRPC) signData(buf []byte, f func(key, sign []byte)) error {
|
func (c *ServiceClientGRPC) signData(buf []byte, f func(key, sign []byte)) error {
|
||||||
// crypto package should not be used outside of API libraries (see neofs-node#491).
|
|
||||||
// For now tree service does not include into SDK Client nor SDK Pool, so there is no choice.
|
|
||||||
// When SDK library adopts Tree service client, this should be dropped.
|
// When SDK library adopts Tree service client, this should be dropped.
|
||||||
sign, err := crypto.Sign(&c.key.PrivateKey, buf)
|
sign, err := crypto.Sign(&c.key.PrivateKey, buf)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue