1
0
Fork 0
forked from lthn/blockchain

fixed open_wallet call

This commit is contained in:
cryptozoidberg 2019-12-01 23:42:10 +01:00
parent 7f374eab2a
commit 6464a65b31
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

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