Open ohaddahan opened 2 years ago
yes, about hash elements, we will update it more
yes, about hash elements, we will update it more
thanks.
updated
These are constants: https://github.com/ChainDev931105/anchor-coin-flip/blob/1b3df5df18ed8b4a9f7ec8827117d16e3065d153/programs/coin-flip/src/lib.rs#L416-L417
I meant to use the changing accounts details, and not use the constant account address, like this:
https://github.com/ChainDev931105/anchor-coin-flip/blob/8f39241e7891a2350cc886ce95fb67d9d1b19f71/programs/coin-flip/src/lib.rs#L193
should add recent blockhash / slot / etc to the hash seeds , to make it harder to predict.