mirror of
https://github.com/wownero/wownerujo.git
synced 2026-11-17 22:03:58 +01:00
Bugfix: crashing on android 5 & 6 (new wallet, receive, ...) (#83)
* getAddress() mess fixed * v0.8.0.3
This commit is contained in:
@@ -36,7 +36,6 @@ public class Wallet {
|
||||
|
||||
Wallet(long handle) {
|
||||
this.handle = handle;
|
||||
getAddress(); // cache address for later
|
||||
}
|
||||
|
||||
public enum Status {
|
||||
@@ -73,10 +72,6 @@ public class Wallet {
|
||||
if (address == null) {
|
||||
address = getAddressJ();
|
||||
}
|
||||
if (!Wallet.isAddressValid(address, WalletManager.getInstance().isTestNet())) {
|
||||
// just die!
|
||||
throw new IllegalStateException("Wallet returned invalid address: " + address);
|
||||
}
|
||||
return address;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user