docs: Remove references to "create_address_with_seed" (#15339) (#15372)

(cherry picked from commit 3ac7e09de6)

Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
This commit is contained in:
mergify[bot]
2021-02-17 14:50:25 +00:00
committed by GitHub
parent 8820933287
commit 0a1fcfa08b
3 changed files with 8 additions and 8 deletions

View File

@@ -182,12 +182,12 @@ off the curve.
Deterministic program addresses for programs follow a similar derivation path as
Accounts created with `SystemInstruction::CreateAccountWithSeed` which is
implemented with `system_instruction::create_address_with_seed`.
implemented with `Pubkey::create_with_seed`.
For reference that implementation is as follows:
```rust,ignore
pub fn create_address_with_seed(
pub fn create_with_seed(
base: &Pubkey,
seed: &str,
program_id: &Pubkey,