Skip to content

Commit

Permalink
Merge branch 'feat/solidjs-functions' of https://github.com/Web3Auth/…
Browse files Browse the repository at this point in the history
…web3auth-web into feat/solidjs-functions
  • Loading branch information
smgv committed Dec 10, 2024
2 parents 5a73a3f + 959443b commit 27d031d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class WalletStandardProviderHandler extends SafeEventEmitter implements I
async signMessage(message: Uint8Array): Promise<{ signature: Uint8Array; publicKey: BN }> {
const account = this.currentAccount;
const signature = await this.wallet.features[SolanaSignMessage].signMessage({ account, message });
return { signature: signature[0].signature, publicKey: new BN(account.publicKey) };
return { signature: signature[0].signature, publicKey: new BN(Buffer.from(account.publicKey)) };
}

async signTransaction<T extends TransactionOrVersionedTransaction>(transaction: T): Promise<T> {
Expand Down

0 comments on commit 27d031d

Please sign in to comment.