simple-wallet-cli: Add warnings about inaccurate balances to to watch-only wallet
This commit is contained in:
@@ -3611,6 +3611,14 @@ bool wallet2::has_multisig_partial_key_images() const
|
||||
return false;
|
||||
}
|
||||
|
||||
bool wallet2::has_unknown_key_images() const
|
||||
{
|
||||
for (const auto &td: m_transfers)
|
||||
if (!td.m_key_image_known)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Rewrites to the wallet file for wallet upgrade (doesn't generate key, assumes it's already there)
|
||||
* \param wallet_name Name of wallet file (should exist)
|
||||
|
||||
Reference in New Issue
Block a user