Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemaccana committed Oct 17, 2024
1 parent db6bb6b commit 5dc01dd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -414,9 +414,9 @@ pub fn handler(ctx: Context<ConsumeRandomness>) -> Result <()> {
}
```

Now you have randomness! Hooray! But there is one last thing we have not discussed
yet and that's how the randomness is returned. Switchboard, gives you your
randomness calling
Now you have randomness! Hooray! But there is one last thing we have not
discussed yet and that's how the randomness is returned. Switchboard, gives you
your randomness calling
[`get_result()`](https://github.com/switchboard-xyz/solana-sdk/blob/9dc3df8a5abe261e23d46d14f9e80a7032bb346c/rust/switchboard-solana/src/oracle_program/accounts/vrf.rs#L122).
This method returns the `current_round.result` field of the `vrf` account
SwitchboardDecimal format, which is really just a buffer of 32 random
Expand Down
8 changes: 4 additions & 4 deletions content/guides/getstarted/full-stack-solana-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -489,10 +489,10 @@ pub struct Counter {
Make sure you go over the comments!
The `initialize` instruction does only one thing: it creates a new
account of the `Counter` type. To do this, we need to know who's paying, details
of the account we're creating like the space and the address, and which program
to use to create the account.
The `initialize` instruction does only one thing: it creates a new account of
the `Counter` type. To do this, we need to know who's paying, details of the
account we're creating like the space and the address, and which program to use
to create the account.
Let's go line by line:
Expand Down
6 changes: 3 additions & 3 deletions docs/core/fees.md
Original file line number Diff line number Diff line change
Expand Up @@ -422,9 +422,9 @@ allocates, the higher the withheld rent deposit will be.

### Rent exempt

Accounts must maintain a lamport balance greater than the minimum required to store
its respective data on-chain. This is called "_rent exempt_" and that balance is
called the "_minimum balance for rent exemption_".
Accounts must maintain a lamport balance greater than the minimum required to
store its respective data on-chain. This is called "_rent exempt_" and that
balance is called the "_minimum balance for rent exemption_".

> New accounts (and programs) on Solana are **REQUIRED** to be initialized with
> enough lamports to become _rent exempt_. This was not always the case.
Expand Down

0 comments on commit 5dc01dd

Please sign in to comment.