diff --git a/src/db/storage.cpp b/src/db/storage.cpp index 8d97b4f..6358807 100644 --- a/src/db/storage.cpp +++ b/src/db/storage.cpp @@ -769,7 +769,7 @@ namespace db const auto v0_requests = requests_v0.open(*txn); if (v0_requests) - MONERO_UNWRAP(convert_table(*txn, *v0_accounts, tables.requests)); + MONERO_UNWRAP(convert_table(*txn, *v0_requests, tables.requests)); else if (v0_requests != lmdb::error(MDB_NOTFOUND)) MONERO_THROW(v0_requests.error(), "Error open old requests table");