docs: Two small typo fixes (#242)
This commit is contained in:
parent
71873a77a3
commit
ccc5ba8a37
|
@ -70,7 +70,7 @@ it will generate a *new* program address.
|
||||||
## Upgrade
|
## 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.
|
Uses Solana's upgradeable BPF loader to upgrade the on chain program code.
|
||||||
|
@ -221,4 +221,4 @@ Cluster Endpoints:
|
||||||
|
|
||||||
## Verify
|
## Verify
|
||||||
|
|
||||||
Verifies the on-chain bytecode matches the locally compiled artifact.
|
Verifies the on-chain bytecode matches the locally compiled artifact.
|
||||||
|
|
|
@ -29,7 +29,7 @@ use syn::parse_macro_input;
|
||||||
///
|
///
|
||||||
/// #[error]
|
/// #[error]
|
||||||
/// pub enum MyError {
|
/// pub enum MyError {
|
||||||
/// #[msg("This is an error message clients cant automatically display")]
|
/// #[msg("This is an error message clients will automatically display")]
|
||||||
/// Hello,
|
/// Hello,
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
|
|
Loading…
Reference in New Issue