From 6464a65b31f4cf915bf0a20a8ac6bcb700c5d334 Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Sun, 1 Dec 2019 23:42:10 +0100 Subject: [PATCH] fixed open_wallet call --- src/gui/qt-daemon/application/daemon_backend.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gui/qt-daemon/application/daemon_backend.cpp b/src/gui/qt-daemon/application/daemon_backend.cpp index 988c3cc9..0bddba44 100644 --- a/src/gui/qt-daemon/application/daemon_backend.cpp +++ b/src/gui/qt-daemon/application/daemon_backend.cpp @@ -677,8 +677,7 @@ std::string daemon_backend::open_wallet(const std::wstring& path, const std::str try { w->load(path, password); - w->get_recent_transfers_history(owr.recent_history.history, 0, 0); - owr.recent_history.total_history_items = w->get_recent_transfers_total_count(); + w->get_recent_transfers_history(owr.recent_history.history, 0, 100, owr.recent_history.total_history_items); //w->get_unconfirmed_transfers(owr.recent_history.unconfirmed); w->get_unconfirmed_transfers(owr.recent_history.history); //workaround for missed fee