Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
omkarshanbhag committed Dec 12, 2024
1 parent 00100cc commit e3971f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/solana/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,17 +138,17 @@ export class TurnkeySigner {
* @param walletAddress string representation of the Solana wallet address (base58 encoded)
* @param mintAddress string representation of the token mint address (base58 encoded)
*/
public getAssociatedTokenAddress(mintAddress: string, walletAddress:string) {
public getAssociatedTokenAddress(mintAddress: string, walletAddress: string) {
const mintPublicKey = new PublicKey(mintAddress);
const walletPublicKey = new PublicKey(walletAddress);

const associatedTokenAddress = getAssociatedTokenAddressSync(
mintPublicKey,
walletPublicKey
mintPublicKey,
walletPublicKey
);

return associatedTokenAddress.toString();
}
}

private async signTransactionImpl(
unsignedTransaction: string,
Expand Down

0 comments on commit e3971f1

Please sign in to comment.