docs: Two small typo fixes (#242)

This commit is contained in:
guanqun 2021-05-05 15:44:06 +08:00 committed by GitHub
parent 71873a77a3
commit ccc5ba8a37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -70,7 +70,7 @@ it will generate a *new* program address.
## Upgrade
```
anchor upgrade <target/deplooy/program.so> --program-id <program-id>
anchor upgrade <target/deploy/program.so> --program-id <program-id>
```
Uses Solana's upgradeable BPF loader to upgrade the on chain program code.
@ -221,4 +221,4 @@ Cluster Endpoints:
## Verify
Verifies the on-chain bytecode matches the locally compiled artifact.
Verifies the on-chain bytecode matches the locally compiled artifact.

View File

@ -29,7 +29,7 @@ use syn::parse_macro_input;
///
/// #[error]
/// pub enum MyError {
/// #[msg("This is an error message clients cant automatically display")]
/// #[msg("This is an error message clients will automatically display")]
/// Hello,
/// }
/// ```