Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
docs: fix typo (#19646) (#19647)
Browse files Browse the repository at this point in the history
(cherry picked from commit f68ca38)

Co-authored-by: Zahin Mohammad <[email protected]>
  • Loading branch information
mergify[bot] and zahin-mohammad authored Sep 4, 2021
1 parent 864006a commit 9a28042
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ let message = Message::new(vec![
client.send_and_confirm_message(&[&alice_keypair, &bob_keypair], &message);
```

A client may to instead allow the `acme` program to conveniently invoke `token`
A client may instead allow the `acme` program to conveniently invoke `token`
instructions on the client's behalf:

```rust,ignore
Expand Down Expand Up @@ -59,7 +59,7 @@ field.
Note that `invoke` requires the caller to pass all the accounts required by the
instruction being invoked. This means that both the executable account (the
ones that matches the instruction's program id) and the accounts passed to the
instruction procesor.
instruction processor.

Before invoking `pay()`, the runtime must ensure that `acme` didn't modify any
accounts owned by `token`. It does this by applying the runtime's policy to the
Expand Down

0 comments on commit 9a28042

Please sign in to comment.