Skip to content

Commit

Permalink
spelling issues (#182)
Browse files Browse the repository at this point in the history
* Update cross-program-invocation.mdx

* Update calculate-rent.mdx
  • Loading branch information
sky-coderay authored Jan 31, 2025
1 parent c4bd0c5 commit 2250377
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/cookbook/accounts/calculate-rent.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const rpc = createSolanaRpc("https://api.devnet.solana.com");
const space = 1500n;

const lamports = await rpc.getMinimumBalanceForRentExemption(space).send();
console.log("Minimum balance for rent exception:", lamports);
console.log("Minimum balance for rent exemption:", lamports);
```

</Tab>
Expand Down
2 changes: 1 addition & 1 deletion content/cookbook/programs/cross-program-invocation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ A cross program invocation, is simply put calling another program's instruction
inside our program. One best example to put forth is Uniswap's `swap`
functionality. The `UniswapV2Router` contract, calls the necessary logic to
swap, and calls the `ERC20` contract's transfer function to swap from one person
to another. The same way, we can call a program's instruction to have multitude
to another. The same way, we can call a program's instruction to have a multitude
of purposes.

Lets have a look at our first example which is the
Expand Down

0 comments on commit 2250377

Please sign in to comment.