mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
AddressChecker: add torsion check
This commit is contained in:
@@ -1388,6 +1388,11 @@ void MainWindow::showAddressChecker() {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!m_wallet->isAddressTorsionFree(address)) {
|
||||
Utils::showWarning(this, "Address is not torsion-free", "This address is not compatible with reference wallets.\n\nSending to this address MAY RESULT IN A LOSS OF FUNDS.");
|
||||
return;
|
||||
}
|
||||
|
||||
SubaddressIndex index = m_wallet->subaddressIndex(address);
|
||||
if (!index.isValid()) {
|
||||
// TODO: probably mention lookahead here
|
||||
|
||||
Reference in New Issue
Block a user