mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-12 10:15:52 +00:00
WalletTool: remove redundant if test
This commit is contained in:
parent
1341529228
commit
5112a94955
@ -726,7 +726,7 @@ public class WalletTool {
|
||||
ECKey key = null;
|
||||
if (pubkey != null) {
|
||||
key = wallet.findKeyFromPubKey(Hex.decode(pubkey));
|
||||
} else if (addr != null) {
|
||||
} else {
|
||||
try {
|
||||
Address address = new Address(wallet.getParams(), addr);
|
||||
key = wallet.findKeyFromPubHash(address.getHash160());
|
||||
|
Loading…
x
Reference in New Issue
Block a user