chore: fix some function names
@ -200,7 +200,7 @@ type FixedSizeSlice[T any] struct {
sync.Mutex
}
// NewFixedSlice initializes a new FixedSlice with a given maximum length.
// NewFixedSizeSlice initializes a new FixedSlice with a given maximum length.
func NewFixedSizeSlice[T any](maxLen int) *FixedSizeSlice[T] {
return &FixedSizeSlice[T]{
data: make([]T, 0, maxLen),
@ -283,7 +283,7 @@ func testSqliteLoopInStore(t *testing.T, pendingSwap LoopInContract) {
require.NoError(t, err)
// TestLiquidityParams checks that reading and writing to liquidty bucket are
// TestSqliteLiquidityParams checks that reading and writing to liquidty bucket are
// as expected.
func TestSqliteLiquidityParams(t *testing.T) {
ctxb := context.Background()
@ -30,7 +30,7 @@ func MapSQLError(err error) error {
return err
// parsePostgresError attempts to parse a sqlite error as a database agnostic
// parseSqliteError attempts to parse a sqlite error as a database agnostic
// SQL error.
func parseSqliteError(sqliteErr *sqlite.Error) error {
switch sqliteErr.Code() {