aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-09 12:13:26 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-25 15:48:18 +0100
commita7ba3de1d3bf69140f864bdfd17a7b83a4a54587 (patch)
tree4ba8f08549a0e305df2736ee6f71d07c31fcb645 /tests
parentwallet2_api: init error code to "no error" in the ctor (diff)
downloadmonero-a7ba3de1d3bf69140f864bdfd17a7b83a4a54587.tar.xz
libwallet_api_tests: initialize newblock_triggered on reset
CID 161873
Diffstat (limited to 'tests')
-rw-r--r--tests/libwallet_api_tests/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libwallet_api_tests/main.cpp b/tests/libwallet_api_tests/main.cpp
index bf0483b0f..d08ab7c75 100644
--- a/tests/libwallet_api_tests/main.cpp
+++ b/tests/libwallet_api_tests/main.cpp
@@ -811,7 +811,7 @@ struct MyWalletListener : public Monero::WalletListener
void reset()
{
- send_triggered = receive_triggered = update_triggered = refresh_triggered = false;
+ send_triggered = receive_triggered = newblock_triggered = update_triggered = refresh_triggered = false;
}
virtual void moneySpent(const string &txId, uint64_t amount)