diff --git a/src/wallet/sqlite.cpp b/src/wallet/sqlite.cpp --- a/src/wallet/sqlite.cpp +++ b/src/wallet/sqlite.cpp @@ -326,7 +326,8 @@ } std::unique_ptr SQLiteDatabase::MakeBatch(bool flush_on_close) { - return nullptr; + // We ignore flush_on_close because we don't do manual flushing for SQLite + return std::make_unique(*this); } SQLiteBatch::SQLiteBatch(SQLiteDatabase &database) : m_database(database) {