docs, examples: Update cli version number and adjust ring size
This commit is contained in:
parent
0de345f1a6
commit
14edcb038d
|
@ -34,7 +34,7 @@ npm install -g mocha
|
|||
For now, we can use Cargo to install the CLI.
|
||||
|
||||
```bash
|
||||
cargo install --git https://github.com/project-serum/anchor --tag v0.4.1 anchor-cli --locked
|
||||
cargo install --git https://github.com/project-serum/anchor --tag v0.4.4 anchor-cli --locked
|
||||
```
|
||||
|
||||
On Linux systems you may need to install additional dependencies if `cargo install` fails. On Ubuntu,
|
||||
|
|
|
@ -84,7 +84,7 @@ impl ChatRoom {
|
|||
self.head += 1;
|
||||
}
|
||||
fn index_of(counter: u64) -> usize {
|
||||
std::convert::TryInto::try_into(counter % 10000).unwrap()
|
||||
std::convert::TryInto::try_into(counter % 33607).unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue