mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-13 23:16:52 +00:00
le_bytes
This commit is contained in:
@@ -133,7 +133,7 @@ fn find_next_hash(hash: KeccakHash, difficulty: KeccakHash, signer: Pubkey) -> (
|
||||
next_hash = hashv(&[
|
||||
hash.to_bytes().as_slice(),
|
||||
signer.to_bytes().as_slice(),
|
||||
nonce.to_be_bytes().as_slice(),
|
||||
nonce.to_le_bytes().as_slice(),
|
||||
]);
|
||||
if next_hash.le(&difficulty) {
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user