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

This commit is contained in:
Jon Cinque
2021-02-17 14:25:02 +01:00
committed by GitHub
parent 51c27dcc1c
commit 3ac7e09de6
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,