diff --git a/pkg/core/state/tokens.go b/pkg/core/state/tokens.go index 63a64f0d2..8434dc298 100644 --- a/pkg/core/state/tokens.go +++ b/pkg/core/state/tokens.go @@ -51,7 +51,7 @@ type NEP11Transfer struct { // block trackers along with the information about NEP-17 and NEP-11 transfer batch. type TokenTransferInfo struct { LastUpdated map[int32]uint32 - // NextNEP11Batch stores the index of the next NEP-17 transfer batch. + // NextNEP11Batch stores the index of the next NEP-11 transfer batch. NextNEP11Batch uint32 // NextNEP17Batch stores the index of the next NEP-17 transfer batch. NextNEP17Batch uint32 diff --git a/pkg/core/stateroot/module.go b/pkg/core/stateroot/module.go index fc43e7a50..4d34bf5b4 100644 --- a/pkg/core/stateroot/module.go +++ b/pkg/core/stateroot/module.go @@ -170,7 +170,7 @@ func (s *Module) Init(height uint32) error { // CleanStorage removes all MPT-related data from the storage (MPT nodes, validated stateroots) // except local stateroot for the current height and GC flag. This method is aimed to clean // outdated MPT data before state sync process can be started. -// Note: this method is aimed to be called for genesis block only, an error is returned otherwice. +// Note: this method is aimed to be called for genesis block only, an error is returned otherwise. func (s *Module) CleanStorage() error { if s.localHeight.Load() != 0 { return fmt.Errorf("can't clean MPT data for non-genesis block: expected local stateroot height 0, got %d", s.localHeight.Load())