diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-05-16 21:34:59 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-05-16 21:37:05 +0000 |
| commit | 915f59e3c01e3283a850300adba16c13ba9fec7a (patch) | |
| tree | 6f9e276af0020d01055b47a559f7d4e2f3376e4f /src/wallet/api/wallet.cpp | |
| parent | e8487fa46b8a5a7b9b3f0322348168f19ea3a42a (diff) | |
| download | monzero-core-915f59e3c01e3283a850300adba16c13ba9fec7a.tar.gz monzero-core-915f59e3c01e3283a850300adba16c13ba9fec7a.tar.xz monzero-core-915f59e3c01e3283a850300adba16c13ba9fec7a.zip | |
wallet: add unlock_time details to show_transfers
also add a note when receiving the tx, because the user
might not notice the "XXX blocks to unlock" in the balance.
Diffstat (limited to 'src/wallet/api/wallet.cpp')
| -rw-r--r-- | src/wallet/api/wallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index 032b873d6..1711db482 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -157,7 +157,7 @@ struct Wallet2CallbackImpl : public tools::i_wallet2_callback } } - virtual void on_money_received(uint64_t height, const crypto::hash &txid, const cryptonote::transaction& tx, uint64_t amount, const cryptonote::subaddress_index& subaddr_index) + virtual void on_money_received(uint64_t height, const crypto::hash &txid, const cryptonote::transaction& tx, uint64_t amount, const cryptonote::subaddress_index& subaddr_index, uint64_t unlock_time) { std::string tx_hash = epee::string_tools::pod_to_hex(txid); |
