forked from TrueCloudLab/frostfs-node
[#486] morph/client: Separate container estimation functions
Inner ring should be able to invoke contract methods both notary and non notary way. Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
7c559aaeaa
commit
c4f4381b13
4 changed files with 34 additions and 2 deletions
|
@ -27,7 +27,7 @@ func (np *Processor) processNewEpoch(epoch uint64) {
|
|||
}
|
||||
|
||||
if epoch > 0 { // estimates are invalid in genesis epoch
|
||||
err = np.containerWrp.StartEstimation(epoch - 1)
|
||||
err = np.containerWrp.StartEstimationNotary(epoch - 1)
|
||||
if err != nil {
|
||||
np.log.Warn("can't start container size estimation",
|
||||
zap.Uint64("epoch", epoch),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue