chore: fix some wrong comments (#20543)

Signed-off-by: bytesingsong <bytesing@icloud.com>
This commit is contained in:
bytesingsong 2024-06-05 16:14:29 +09:00 committed by GitHub
parent 4fea3fba73
commit 6d2189ad7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ import (
var _ idb.DB = &DBWrapper{}
// DBwrapper is a simple wrapper of dbm.DB that implements the iavl.DB interface.
// DBWrapper is a simple wrapper of dbm.DB that implements the iavl.DB interface.
type DBWrapper struct {
dbm.DB
}

View File

@ -46,7 +46,7 @@ func (h MultiEpochHooks) BeforeEpochStart(ctx context.Context, epochIdentifier s
return errs
}
// StakingHooksWrapper is a wrapper for modules to inject StakingHooks using depinject.
// EpochHooksWrapper is a wrapper for modules to inject EpochHooks using depinject.
type EpochHooksWrapper struct{ EpochHooks }
// IsOnePerModuleType implements the depinject.OnePerModuleType interface.