crypto: update variant

This commit is contained in:
Jethro Grassie 2018-10-18 15:21:20 -04:00
parent 698a3387f7
commit 40bf2eb99c
No known key found for this signature in database
GPG key ID: DE8ED755616565BB

View file

@ -96,7 +96,7 @@ int parse_address(const char *input, uint64_t *prefix)
void get_hash(const char *input, const size_t in_size, char **output)
{
crypto::cn_slow_hash(input, in_size, reinterpret_cast<crypto::hash&>(*output), 1);
crypto::cn_slow_hash(input, in_size, reinterpret_cast<crypto::hash&>(*output), 2);
}
bool check_hash(const char* hash, uint64_t difficulty)