catch cases where the qr code produces a null monero address (#702)
This commit is contained in:
parent
82b25df7ad
commit
f40c3d6c6d
|
@ -191,7 +191,7 @@ public class BarcodeData {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Wallet.isAddressValid(address)) {
|
if ((address == null) || !Wallet.isAddressValid(address)) {
|
||||||
Timber.d("address invalid");
|
Timber.d("address invalid");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue