chore: fix some function names

Signed-off-by: drawdrop <cricis@icloud.com>
This commit is contained in:
drawdrop 2024-08-12 22:59:32 +08:00
parent 44d46010a0
commit b4193dfb28
3 changed files with 3 additions and 3 deletions

View file

@ -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()

View file

@ -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() {