mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
Check addresses in address book for validity
This commit is contained in:
@@ -263,3 +263,10 @@ void AddressTableModel::update()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bool AddressTableModel::validateAddress(const QString &address)
|
||||
{
|
||||
uint160 hash160 = 0;
|
||||
|
||||
return AddressToHash160(address.toStdString(), hash160);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user