aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet/simplewallet.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2018-06-16 14:15:52 -0500
committerluigi1111 <luigi1111w@gmail.com>2018-06-16 14:15:52 -0500
commit9226acca4be7ed920e82172011c02975ff3edb62 (patch)
tree5d62ed798ce7b2ad6ada134d3de4cba659fb5b01 /src/simplewallet/simplewallet.cpp
parentMerge pull request #3798 (diff)
parentsimple-wallet-cli: Add warnings about inaccurate balances to to watch-only wa... (diff)
downloadmonero-9226acca4be7ed920e82172011c02975ff3edb62.tar.xz
Merge pull request #3804
89e51ec simple-wallet-cli: Add warnings about inaccurate balances to to watch-only wallet (jcktm)
Diffstat (limited to '')
-rw-r--r--src/simplewallet/simplewallet.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index 3f8297c63..196a2eb74 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -4063,6 +4063,8 @@ bool simple_wallet::show_balance_unlocked(bool detailed)
std::string extra;
if (m_wallet->has_multisig_partial_key_images())
extra = tr(" (Some owned outputs have partial key images - import_multisig_info needed)");
+ else if (m_wallet->has_unknown_key_images())
+ extra += tr(" (Some owned outputs have missing key images - import_key_images needed)");
success_msg_writer() << tr("Currently selected account: [") << m_current_subaddress_account << tr("] ") << m_wallet->get_subaddress_label({m_current_subaddress_account, 0});
const std::string tag = m_wallet->get_account_tags().second[m_current_subaddress_account];
success_msg_writer() << tr("Tag: ") << (tag.empty() ? std::string{tr("(No tag assigned)")} : tag);