forked from TrueCloudLab/frostfs-node
[#392] ir: Remove bitsize from IR indices
There is no need to specify that IR indices are 32 bits in size. Change return types of `Indexer` interface methods in audit and alphabet packages. Support interface changes in `Server` implementation. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
645bef9de9
commit
397c3b6757
4 changed files with 9 additions and 9 deletions
|
@ -15,9 +15,9 @@ func (np *Processor) processEmit() {
|
|||
np.log.Info("passive mode, ignore gas emission event")
|
||||
|
||||
return
|
||||
} else if int(index) >= len(np.alphabetContracts) {
|
||||
} else if index >= len(np.alphabetContracts) {
|
||||
np.log.Debug("node is out of alphabet range, ignore gas emission event",
|
||||
zap.Int32("index", index))
|
||||
zap.Int("index", index))
|
||||
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue