This commit is contained in:
Hardhat Chad
2024-02-26 16:25:44 +00:00
parent 04dd32e911
commit cba2c748e2
2 changed files with 4 additions and 4 deletions

View File

@@ -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;