Skip to content

Commit

Permalink
fix: randomness wording
Browse files Browse the repository at this point in the history
  • Loading branch information
krigga authored May 20, 2024
1 parent 3930658 commit 1f91370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ libsDict.set(code.hash(), code);
blockchain.libs = beginCell().storeDictDirect(libsDict).endCell();
```
* There is no blocks in emulation, so opcodes like `PREVBLOCKSINFO`, `PREVMCBLOCKS`, `PREVKEYBLOCK` will return empty tuple.
* The randomness in the TON is always deterministic and the same randomSeed always gives the same random number. If necessary, you can change the randomSeed to make `RAND` provide result based on provided seed. Currently, there is no way to provide randomSeed in open contracts.
* The randomness in the TON is always deterministic and the same randomSeed always gives the same random number sequence. If necessary, you can change the randomSeed to make `RAND` provide result based on provided seed. Currently, there is no way to provide randomSeed in opened contracts.
```typescript
const res = await blockchain.runGetMethod(example.address,
'get_method',
Expand Down

0 comments on commit 1f91370

Please sign in to comment.