Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemaccana committed Oct 2, 2024
1 parent e7460a5 commit 0dfaf28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ invoked in the onchain program.

### Instructions

In previous lessons, we used the `SystemProgram.transfer()` function from
`@solana/web3.js`, which creates an instruction for the System program to
In previous lessons, we used the `SystemProgram.transfer()` function from
`@solana/web3.js`, which creates an instruction for the System program to
transfer SOL.

When working with other programs, however, you'll need to create instructions
Expand Down
2 changes: 1 addition & 1 deletion content/courses/solana-pay/solana-pay.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ async function post(req: PublicKey, res: PublicKey) {
fromPubkey: new PublicKey(account),
toPubkey: Keypair.generate().publicKey,
lamports: 0.001 * LAMPORTS_PER_SOL,
});
});

transaction.add(instruction);

Expand Down

0 comments on commit 0dfaf28

Please sign in to comment.