From 8d4abc1104bcfc27086b10162036127c575a5881 Mon Sep 17 00:00:00 2001 From: Sebastian Falbesoner Date: Tue, 5 May 2020 23:01:21 +0200 Subject: [PATCH] db: fix error message in db_sqlite3_commit_tx() This probably happened through copy-and-paste from db_sqlite3_begin_tx(). Changelog-None --- wallet/db_sqlite3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallet/db_sqlite3.c b/wallet/db_sqlite3.c index d6523aeac..d6ef92084 100644 --- a/wallet/db_sqlite3.c +++ b/wallet/db_sqlite3.c @@ -157,7 +157,7 @@ static bool db_sqlite3_commit_tx(struct db *db) char *errmsg; err = sqlite3_exec(db->conn, "COMMIT;", NULL, NULL, &errmsg); if (err != SQLITE_OK) { - db->error = tal_fmt(db, "Failed to begin a transaction: %s", errmsg); + db->error = tal_fmt(db, "Failed to commit a transaction: %s", errmsg); return false; } return true;