Skip to content

Commit

Permalink
chore: add deprecation notice for createProgramAddress (solana-labs#2…
Browse files Browse the repository at this point in the history
  • Loading branch information
macalinao authored and gnapoli23 committed Dec 16, 2022
1 parent 612bad2 commit fccf075
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 fccf075

Please sign in to comment.