From 6a5743d27268b03fb4e15d4a1940db202a4ac14b Mon Sep 17 00:00:00 2001 From: woodser Date: Sun, 11 Aug 2019 19:23:39 -0400 Subject: [PATCH] cleanup --- README.md | 2 +- test/sample_code.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c3065c2..4b182fd 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ monero_wallet* wallet_restored = monero_wallet::create_wallet_from_mnemonic( // synchronize the wallet and receive progress notifications struct : monero_sync_listener { void on_sync_progress(uint64_t height, uint64_t start_height, uint64_t end_height, double percent_done, const string& message) { - cout << "onSyncProgress(" << height << ", " << start_height << ", " << end_height << ", " << percent_done << ", " << message << ")" << endl; + // feed a progress bar? } } my_sync_listener; wallet_restored->sync(my_sync_listener); diff --git a/test/sample_code.cpp b/test/sample_code.cpp index d62ad03..19e5e2c 100644 --- a/test/sample_code.cpp +++ b/test/sample_code.cpp @@ -33,7 +33,7 @@ int main(int argc, const char* argv[]) { // synchronize the wallet and receive progress notifications struct : monero_sync_listener { void on_sync_progress(uint64_t height, uint64_t start_height, uint64_t end_height, double percent_done, const string& message) { - cout << "onSyncProgress(" << height << ", " << start_height << ", " << end_height << ", " << percent_done << ", " << message << ")" << endl; + // feed a progress bar? } } my_sync_listener; wallet_restored->sync(my_sync_listener);