mirror of
https://github.com/wownero/wownerujo.git
synced 2026-11-22 00:03:58 +01:00
Die if getAddress() is not valid (#73)
mitigates serious effects of issue #72 by crashing - does not solve the root cause which is still unknown.
This commit is contained in:
@@ -697,7 +697,7 @@ public class WalletActivity extends AppCompatActivity implements WalletFragment.
|
||||
address = null;
|
||||
}
|
||||
|
||||
if (Helper.isAddressOk(address, WalletManager.getInstance().isTestNet())) {
|
||||
if (Wallet.isAddressValid(address, WalletManager.getInstance().isTestNet())) {
|
||||
return new BarcodeData(address, paymentId, amount);
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user