[#181] ir: Do not deposit notary GAS by non-alphabet nodes
All checks were successful
ci/woodpecker/pr/pre-commit Pipeline was successful
All checks were successful
ci/woodpecker/pr/pre-commit Pipeline was successful
Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
This commit is contained in:
parent
e843e7f090
commit
e71b6582b5
2 changed files with 5 additions and 2 deletions
|
@ -53,6 +53,7 @@ Changelog for FrostFS Node
|
|||
- Adding of public key for nns group `group.frostfs` at init step (#130)
|
||||
- Iterating over just removed files by FSTree (#98)
|
||||
- Parts of a locked object could not be removed anymore (#141)
|
||||
- Non-alphabet nodes do not claim notary deposits (#181)
|
||||
|
||||
### Removed
|
||||
### Updated
|
||||
|
|
|
@ -179,7 +179,9 @@ func (s *Server) Start(ctx context.Context, intError chan<- error) (err error) {
|
|||
return err
|
||||
}
|
||||
|
||||
if !s.mainNotaryConfig.disabled {
|
||||
isAlpha := s.IsAlphabet()
|
||||
|
||||
if isAlpha && !s.mainNotaryConfig.disabled {
|
||||
err = s.initNotary(ctx,
|
||||
s.depositMainNotary,
|
||||
s.awaitMainNotaryDeposit,
|
||||
|
@ -190,7 +192,7 @@ func (s *Server) Start(ctx context.Context, intError chan<- error) (err error) {
|
|||
}
|
||||
}
|
||||
|
||||
if !s.sideNotaryConfig.disabled {
|
||||
if isAlpha && !s.sideNotaryConfig.disabled {
|
||||
err = s.initNotary(ctx,
|
||||
s.depositSideNotary,
|
||||
s.awaitSideNotaryDeposit,
|
||||
|
|
Loading…
Reference in a new issue