chore(docs): fix comments that do not start with the name of the exported element. (#20906)
This commit is contained in:
+1
-1
@@ -896,7 +896,7 @@ func (d *LegacyDec) UnmarshalAmino(bz []byte) error { return d.Unmarshal(bz) }
|
||||
|
||||
// helpers
|
||||
|
||||
// test if two decimal arrays are equal
|
||||
// LegacyDecsEqual return true if two decimal arrays are equal.
|
||||
func LegacyDecsEqual(d1s, d2s []LegacyDec) bool {
|
||||
if len(d1s) != len(d2s) {
|
||||
return false
|
||||
|
||||
+1
-1
@@ -521,7 +521,7 @@ func (i *Int) Size() int {
|
||||
func (i Int) MarshalAmino() ([]byte, error) { return i.Marshal() }
|
||||
func (i *Int) UnmarshalAmino(bz []byte) error { return i.Unmarshal(bz) }
|
||||
|
||||
// intended to be used with require/assert: require.True(IntEq(...))
|
||||
// IntEq intended to be used with require/assert: require.True(IntEq(...))
|
||||
func IntEq(t *testing.T, exp, got Int) (*testing.T, bool, string, string, string) {
|
||||
t.Helper()
|
||||
return t, exp.Equal(got), "expected:\t%v\ngot:\t\t%v", exp.String(), got.String()
|
||||
|
||||
Reference in New Issue
Block a user