mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-07-31 20:11:23 +00:00
Wallet: Add back deprecated findKeyFromPubHash() for compatibility.
This commit is contained in:
@@ -1128,6 +1128,12 @@ public class Wallet extends BaseTaggableObject
|
||||
}
|
||||
}
|
||||
|
||||
/** @deprecated Use {@link #findKeyFromPubKeyHash(byte[], ScriptType)} */
|
||||
@Deprecated
|
||||
public ECKey findKeyFromPubHash(byte[] pubKeyHash) {
|
||||
return findKeyFromPubKeyHash(pubKeyHash, Script.ScriptType.P2PK);
|
||||
}
|
||||
|
||||
/**
|
||||
* Locates a keypair from the basicKeyChain given the hash of the public key. This is needed when finding out which
|
||||
* key we need to use to redeem a transaction output.
|
||||
|
Reference in New Issue
Block a user