Skip to content

Commit

Permalink
chore: add deprecation notice for createProgramAddress (#27879)
Browse files Browse the repository at this point in the history
  • Loading branch information
macalinao authored Nov 29, 2022
1 parent ac8ddc8 commit 61803b9
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 @@ -186,6 +186,8 @@ export class PublicKey extends Struct {
/**
* Async version of createProgramAddressSync
* For backwards compatibility
*
* @deprecated Use {@link createProgramAddressSync} instead
*/
/* eslint-disable require-await */
static async createProgramAddress(
Expand Down

0 comments on commit 61803b9

Please sign in to comment.