forked from TrueCloudLab/frostfs-node
[#181] ir: Do not deposit notary GAS by non-alphabet nodes
Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
This commit is contained in:
parent
ed28ce24cd
commit
44d5412e10
1 changed files with 9 additions and 7 deletions
|
@ -149,6 +149,7 @@ func (s *Server) Start(ctx context.Context, intError chan<- error) (err error) {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if s.IsAlphabet() {
|
||||||
err = s.initMainNotary(ctx)
|
err = s.initMainNotary(ctx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
@ -158,6 +159,7 @@ func (s *Server) Start(ctx context.Context, intError chan<- error) (err error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
prm := governance.VoteValidatorPrm{}
|
prm := governance.VoteValidatorPrm{}
|
||||||
prm.Validators = s.predefinedValidators
|
prm.Validators = s.predefinedValidators
|
||||||
|
|
Loading…
Reference in a new issue