mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-07-31 12:01:24 +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 Use {@link #findKeyFromPubKeyHash(byte[], ScriptType)} */
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public ECKey findKeyFromPubHash(byte[] pubKeyHash) {
|
public ECKey findKeyFromPubHash(byte[] pubKeyHash) {
|
||||||
return findKeyFromPubKeyHash(pubKeyHash, Script.ScriptType.P2PK);
|
return findKeyFromPubKeyHash(pubKeyHash, Script.ScriptType.P2PKH);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user