forked from TrueCloudLab/frostfs-node
[#584] pkg/innerring: Stop using deprecated methods
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
91f010e0a9
commit
057ebf9d51
11 changed files with 65 additions and 44 deletions
|
@ -100,14 +100,7 @@ func newEpochTimer(args *epochTimerArgs) *timer.BlockTimer {
|
|||
return
|
||||
}
|
||||
|
||||
var err error
|
||||
|
||||
if args.notaryDisabled {
|
||||
err = args.cnrWrapper.StopEstimation(epochN - 1)
|
||||
} else {
|
||||
err = args.cnrWrapper.StopEstimationNotary(epochN - 1)
|
||||
}
|
||||
|
||||
err := args.cnrWrapper.StopEstimation(epochN - 1)
|
||||
if err != nil {
|
||||
args.l.Warn("can't stop epoch estimation",
|
||||
zap.Uint64("epoch", epochN),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue