3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-11 17:55:53 +00:00

ECKey: clarify name of parameter

This commit is contained in:
Mike Hearn 2014-12-19 01:53:16 +01:00
parent 92e28bb516
commit b00930efcd

View File

@ -681,11 +681,11 @@ public class ECKey implements EncryptableItem, Serializable {
/**
* Verifies the given ASN.1 encoded ECDSA signature against a hash using the public key.
*
* @param data Hash of the data to verify.
* @param hash Hash of the data to verify.
* @param signature ASN.1 encoded signature.
*/
public boolean verify(byte[] data, byte[] signature) {
return ECKey.verify(data, signature, getPubKey());
public boolean verify(byte[] hash, byte[] signature) {
return ECKey.verify(hash, signature, getPubKey());
}
/**