From 9b8e438ab491e0747996e57239952e5db2c736e8 Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Mon, 2 Dec 2019 00:20:16 +0100 Subject: [PATCH] fixed simplewallet issues with get_recent_transfers --- src/simplewallet/simplewallet.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 98cd5ba6..f6494f46 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -715,7 +715,8 @@ bool simple_wallet::list_recent_transfers(const std::vector& args) { std::vector unconfirmed; std::vector recent; - m_wallet->get_recent_transfers_history(recent, 0, 0); + uint64_t total = 0; + m_wallet->get_recent_transfers_history(recent, 0, 0, total); m_wallet->get_unconfirmed_transfers(unconfirmed); //workaround for missed fee @@ -740,7 +741,8 @@ bool simple_wallet::list_recent_transfers_ex(const std::vector& arg { std::vector unconfirmed; std::vector recent; - m_wallet->get_recent_transfers_history(recent, 0, 0); + uint64_t total = 0; + m_wallet->get_recent_transfers_history(recent, 0, 0, total); m_wallet->get_unconfirmed_transfers(unconfirmed); //workaround for missed fee stringstream ss;