chore: remove repetitive words (#20180)
This commit is contained in:
@@ -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
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user