interfaces, gui: Remove is_mine output parameter from getAddress

The is_mine output parameter is never used by any callers.
This commit is contained in:
Ava Chow
2025-05-15 17:27:44 -07:00
parent 22e689587a
commit 620abe985e
5 changed files with 9 additions and 19 deletions

View File

@@ -268,7 +268,7 @@ void WalletModel::sendCoins(WalletModelTransaction& transaction)
// Check if we have a new address or an updated label
std::string name;
if (!m_wallet->getAddress(
dest, &name, /* is_mine= */ nullptr, /* purpose= */ nullptr))
dest, &name, /*purpose=*/nullptr))
{
m_wallet->setAddressBook(dest, strLabel, wallet::AddressPurpose::SEND);
}