This commit is contained in:
Hardhat Chad
2025-07-31 14:47:50 -07:00
parent dff2bcff4a
commit f3a40b0170

View File

@@ -41,5 +41,8 @@ pub fn process_mine(accounts: &[AccountInfo<'_>], data: &[u8]) -> ProgramResult
block.best_hash_miner = *miner_info.key;
}
// Only allow miners to submit 1 hash per block.
miner.hashpower = 0;
Ok(())
}