Skip to content

Commit

Permalink
fix: provider publickey getter
Browse files Browse the repository at this point in the history
  • Loading branch information
bucurdavid committed Dec 23, 2024
1 parent 3a0f24f commit c77152a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ export class MplBubblegumProvider {
throw new Error("This operation requires a keypair.");
}
}

public getKeypairPublicKey(): PublicKey {
this.ensureKeypairIsSet();
return this.keypair.publicKey;
}

public findLeafAssetId(
merkleTree: PublicKey,
leafIndex: number
Expand Down

0 comments on commit c77152a

Please sign in to comment.