diff options
| author | Ilya Kitaev <mbg033@gmail.com> | 2016-05-16 13:11:44 +0300 |
|---|---|---|
| committer | Ilya Kitaev <mbg033@gmail.com> | 2016-05-16 13:11:44 +0300 |
| commit | 40087a745f7677d29642c9ff86e1583c34ed1748 (patch) | |
| tree | 154f360abe62dacf7469933b7713fe4f52d087fc /src/wallet/api/wallet.cpp | |
| parent | 27d86b73c63c7eea0473f11df348fc6a4a3b3e65 (diff) | |
| download | monzero-core-40087a745f7677d29642c9ff86e1583c34ed1748.tar.gz monzero-core-40087a745f7677d29642c9ff86e1583c34ed1748.tar.xz monzero-core-40087a745f7677d29642c9ff86e1583c34ed1748.zip | |
WalletListener::moneySpent test
Diffstat (limited to 'src/wallet/api/wallet.cpp')
| -rw-r--r-- | src/wallet/api/wallet.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index 5819e42bc..440642291 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -50,6 +50,12 @@ namespace { struct Wallet2CallbackImpl : public tools::i_wallet2_callback { + Wallet2CallbackImpl() + : m_listener(nullptr) + { + + } + ~Wallet2CallbackImpl() { @@ -109,6 +115,8 @@ struct Wallet2CallbackImpl : public tools::i_wallet2_callback Wallet::~Wallet() {} +WalletListener::~WalletListener() {} + string Wallet::displayAmount(uint64_t amount) { return cryptonote::print_money(amount); |
