mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-07-30 03:21:23 +00:00
Wallet: Fix script type in deprecated findKeyFromPubHash().
This commit is contained in:
committed by
Andreas Schildbach
parent
55612cd1dc
commit
0f5ac332ec
@@ -1136,7 +1136,7 @@ public class Wallet extends BaseTaggableObject
|
||||
/** @deprecated Use {@link #findKeyFromPubKeyHash(byte[], ScriptType)} */
|
||||
@Deprecated
|
||||
public ECKey findKeyFromPubHash(byte[] pubKeyHash) {
|
||||
return findKeyFromPubKeyHash(pubKeyHash, Script.ScriptType.P2PK);
|
||||
return findKeyFromPubKeyHash(pubKeyHash, Script.ScriptType.P2PKH);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user