[#181] ir: Do not deposit notary GAS by non-alphabet nodes #186
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