Skip to content

Commit

Permalink
chore: deprecate PublicKey.findProgramAddress (solana-labs#27882)
Browse files Browse the repository at this point in the history
  • Loading branch information
macalinao authored and nickfrosty committed Jan 4, 2023
1 parent f713775 commit 3d1a52a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web3.js/src/publickey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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>,
Expand Down

0 comments on commit 3d1a52a

Please sign in to comment.