From f98bf48b1d7d659e8454dd66a8b19f08dcab1056 Mon Sep 17 00:00:00 2001 From: binaryFate Date: Mon, 26 Jun 2017 12:30:14 +0200 Subject: [PATCH] Minor cleanup: tab vs. space + logs messages --- src/wallet/wallet_rpc_server.cpp | 6 +++--- src/wallet/wallet_rpc_server.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp index f2b3dcaf..1b69309b 100644 --- a/src/wallet/wallet_rpc_server.cpp +++ b/src/wallet/wallet_rpc_server.cpp @@ -422,7 +422,7 @@ namespace tools std::vector dsts; std::vector extra; - LOG_PRINT_L3("on_transfer_split starts"); + LOG_PRINT_L3("on_transfer starts"); if (!m_wallet) return not_open(er); if (m_wallet->restricted()) { @@ -518,9 +518,9 @@ namespace tools ptx_vector = m_wallet->create_transactions_2(dsts, mixin, req.unlock_time, req.priority, extra, m_trusted_daemon); LOG_PRINT_L2("on_transfer_split called create_transactions_2"); - LOG_PRINT_L2("on_transfer_split calling commit_txyy"); + LOG_PRINT_L2("on_transfer_split calling commit_tx"); m_wallet->commit_tx(ptx_vector); - LOG_PRINT_L2("on_transfer_split called commit_txyy"); + LOG_PRINT_L2("on_transfer_split called commit_tx"); // populate response with tx hashes for (auto & ptx : ptx_vector) diff --git a/src/wallet/wallet_rpc_server.h b/src/wallet/wallet_rpc_server.h index 230dcee5..68e4c049 100644 --- a/src/wallet/wallet_rpc_server.h +++ b/src/wallet/wallet_rpc_server.h @@ -149,7 +149,7 @@ namespace tools void fill_transfer_entry(tools::wallet_rpc::transfer_entry &entry, const crypto::hash &txid, const tools::wallet2::confirmed_transfer_details &pd); void fill_transfer_entry(tools::wallet_rpc::transfer_entry &entry, const crypto::hash &txid, const tools::wallet2::unconfirmed_transfer_details &pd); void fill_transfer_entry(tools::wallet_rpc::transfer_entry &entry, const crypto::hash &payment_id, const tools::wallet2::payment_details &pd); - bool not_open(epee::json_rpc::error& er); + bool not_open(epee::json_rpc::error& er); wallet2 *m_wallet; std::string m_wallet_dir;