Skip to content

Commit 59ace1d

Browse files
committed
Minor
1 parent 4499912 commit 59ace1d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

examples/sol-anchor-contract/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ We assume that you have installed `anchor`, `npm` and `yarn`.
1717
# Change the `wallet` field in Anchor.toml to your own wallet
1818
# And then deploy the example contract
1919
> anchor deploy
20+
# An error may occur if your wallet does not have enough funds
2021

2122
# Install the client dependencies and invoke this program
2223
> anchor run install

examples/sol-anchor-contract/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/sol-anchor-contract/scripts/invoke.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ try {
2626
try {
2727
assert(programId.equals(programKey.publicKey));
2828
} catch (error) {
29-
throw new Error("Please make sure you have the same program Id in (1) Anchor.toml, (2) programs/.../src/lib.rs and (3) the result of anchor deploy. Then re-build and re-deploy your program");
29+
throw new Error("Please make sure you have the same program address in (1) Anchor.toml, (2) programs/example-sol-anchor-contract/src/lib.rs and (3) the output of anchor deploy. Then re-build and re-deploy your program.");
3030
}
3131

3232
it("Initialize the config.", async () => {

0 commit comments

Comments
 (0)