diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-02-11 00:21:51 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-02-11 00:21:51 +0200 |
commit | 9781ecaa705f960aa4955ee61940a80950275f8c (patch) | |
tree | 267b3db51b0442f3c4f825fd5a7bf06d7a8c4f6a /src/wallet/api | |
parent | Merge pull request #1682 (diff) | |
parent | Wallet API: Easylogger wrapper for gui (diff) | |
download | monero-9781ecaa705f960aa4955ee61940a80950275f8c.tar.xz |
Merge pull request #1685
7549116e Wallet API: Easylogger wrapper for gui (Jaquee)
Diffstat (limited to 'src/wallet/api')
-rw-r--r-- | src/wallet/api/wallet.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index 830f98909..2524107c4 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -44,6 +44,9 @@ using namespace std; using namespace cryptonote; +#undef MONERO_DEFAULT_LOG_CATEGORY +#define MONERO_DEFAULT_LOG_CATEGORY "WalletAPI" + namespace Monero { namespace { @@ -255,6 +258,9 @@ uint64_t Wallet::maximumAllowedAmount() return std::numeric_limits<uint64_t>::max(); } +void Wallet::debug(const std::string &str) { + MDEBUG(str); +} ///////////////////////// WalletImpl implementation //////////////////////// WalletImpl::WalletImpl(bool testnet) |