Skip to content

Commit

Permalink
chore: deprecate PublicKey.findProgramAddress (#27882)
Browse files Browse the repository at this point in the history
  • Loading branch information
macalinao authored Nov 29, 2022
1 parent 19ec2dc commit ac8ddc8
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 ac8ddc8

Please sign in to comment.