mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-11-03 05:57:21 +00:00
LegacyAddress: Deprecate getHash160().
This commit is contained in:
@@ -1465,7 +1465,7 @@ public class WalletTool {
|
||||
} else {
|
||||
try {
|
||||
LegacyAddress address = LegacyAddress.fromBase58(wallet.getParams(), addr);
|
||||
key = wallet.findKeyFromPubHash(address.getHash160());
|
||||
key = wallet.findKeyFromPubHash(address.getHash());
|
||||
} catch (AddressFormatException e) {
|
||||
System.err.println(addr + " does not parse as a Bitcoin address of the right network parameters.");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user