forked from TrueCloudLab/frostfs-node
[#2091] morph/client: Do not use deprecated methods
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
parent
51e886dd67
commit
6af52c46d8
5 changed files with 33 additions and 65 deletions
|
@ -116,10 +116,7 @@ func New(p *Params) (*Processor, error) {
|
|||
}
|
||||
|
||||
// result is cached by neo-go, so we can pre-calc it
|
||||
designate, err := p.MainnetClient.GetDesignateHash()
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("could not get designate hash: %w", err)
|
||||
}
|
||||
designate := p.MainnetClient.GetDesignateHash()
|
||||
|
||||
return &Processor{
|
||||
log: p.Log,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue