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

Commit 25ffbff

Browse files
committed
update
1 parent f34fb08 commit 25ffbff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/courses/onchain-development/anchor-pdas.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ reallocate accounts, and close accounts.
3838
### PDAs with Anchor
3939

4040
Recall that
41-
[PDAs](https://github.com/Unboxed-Software/solana-course/blob/main/content/pda)
41+
[PDAs](https://github.com/Unboxed-Software/solana-course/blob/main/content/pda.md)
4242
are derived using a list of optional seeds, a bump seed, and a program ID.
4343
Anchor provides a convenient way to validate a PDA with the `seeds` and `bump`
4444
constraints.
@@ -230,7 +230,7 @@ To use `init_if_needed`, you must first enable the feature in `Cargo.toml`.
230230

231231
```rust
232232
[dependencies]
233-
anchor-lang = { version = "0.25.0", features = ["init-if-needed"] }
233+
anchor-lang = { version = "0.30.1", features = ["init-if-needed"] }
234234
```
235235

236236
Once you’ve enabled the feature, you can include the constraint in the

0 commit comments

Comments
 (0)