This commit is contained in:
Hardhat Chad
2025-05-23 19:11:28 -07:00
parent a0791bb6b2
commit 87c67f1ccb
3 changed files with 13 additions and 15 deletions

View File

@@ -55,7 +55,7 @@ pub fn process_bet(accounts: &[AccountInfo<'_>], data: &[u8]) -> ProgramResult {
block.total_bets += amount;
block.bet_count += 1;
// Hash client seed into block noise. This follows the scheme for provable randomness.
// Hash client seed into block noise for provably fair randomness.
block.noise = hashv(&[&block.noise, &seed]).to_bytes();
// Transfer wagers.