(cherry picked from commit 29bf1e25297972b1e9c3a1fd7deb25948c9fcebf) Co-authored-by: Justin Kat <601027+Jkat@users.noreply.github.com>
This commit is contained in:
parent
4dfbb4347c
commit
6c47a98945
@ -286,7 +286,7 @@ Note that the address generated using `create_program_address` is not guaranteed
|
||||
to be a valid program address off the curve. For example, let's assume that the
|
||||
seed `"escrow2"` does not generate a valid program address.
|
||||
|
||||
To generate a valid program address using `"escrow2` as a seed, use
|
||||
To generate a valid program address using `"escrow2"` as a seed, use
|
||||
`find_program_address`, iterating through possible bump seeds until a valid
|
||||
combination is found. The preceding example becomes:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user