chore: remove repetitive words (#20180)

This commit is contained in:
goofylfg
2024-04-25 07:29:09 +00:00
committed by GitHub
parent e141457f76
commit 00ec23cdbe
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -255,7 +255,7 @@ var timeSize = len(FormatTimeBytes(time.Time{}))
func (timeKeyCodec) Decode(buffer []byte) (int, time.Time, error) {
if len(buffer) != timeSize {
return 0, time.Time{}, fmt.Errorf("invalid time buffer buffer size")
return 0, time.Time{}, fmt.Errorf("invalid time buffer size")
}
t, err := ParseTimeBytes(buffer)
if err != nil {
+1 -1
View File
@@ -156,7 +156,7 @@ func (coin DecCoin) IsValid() bool {
// DecCoins defines a slice of coins with decimal values
type DecCoins []DecCoin
// NewDecCoins constructs a new coin set with with decimal values
// NewDecCoins constructs a new coin set with decimal values
// from DecCoins. The provided coins will be sanitized by removing
// zero coins and sorting the coin set. A panic will occur if the coin set is not valid.
func NewDecCoins(decCoins ...DecCoin) DecCoins {
+1 -1
View File
@@ -54,7 +54,7 @@ type AppModuleBasic interface {
// AppModule is the form for an application module. Most of
// its functionality has been moved to extension interfaces.
// Deprecated: use appmodule.AppModule with a combination of extension interfaces interfaces instead.
// Deprecated: use appmodule.AppModule with a combination of extension interfaces instead.
type AppModule interface {
HasName