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:
m2049r
2017-09-19 21:40:17 +02:00
committed by GitHub
parent c4f9e8cf58
commit b00734a0d6
6 changed files with 16 additions and 16 deletions
@@ -277,7 +277,7 @@ public class SendFragment extends Fragment {
private boolean addressOk() {
String address = etAddress.getText().toString();
return Helper.isAddressOk(address, WalletManager.getInstance().isTestNet());
return Wallet.isAddressValid(address, WalletManager.getInstance().isTestNet());
}
private boolean amountOk() {