chore: deprecate PublicKey.findProgramAddress (#27882)

This commit is contained in:
Ian Macalinao 2022-11-29 01:28:35 -06:00 committed by GitHub
parent 19ec2dc0b1
commit ac8ddc841c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -227,6 +227,8 @@ export class PublicKey extends Struct {
/**
* Async version of findProgramAddressSync
* For backwards compatibility
*
* @deprecated Use {@link findProgramAddressSync} instead
*/
static async findProgramAddress(
seeds: Array<Buffer | Uint8Array>,