Skip to content

Commit c12c427

Browse files
authored
Merge pull request #652 from LIT-Protocol/feature/lit-3597-js-sdk-bug-wrapped-keys-solana-sign-tx-wrong-signature
fix: wrong encoding - should be `base58` instead of `base64`
2 parents e62234d + b1fd6d7 commit c12c427

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/wrapped-keys-lit-actions/src/lib/solana/signTransactionWithSolanaEncryptedKey.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const { removeSaltFromDecryptedKey } = require('../utils');
8080
);
8181

8282
transaction.sign(solanaKeyPair);
83-
const signature = transaction.signature.toString('base64');
83+
const signature = ethers.utils.base58.encode(transaction.signature);
8484

8585
if (broadcast) {
8686
const solanaConnection = new Connection(

0 commit comments

Comments
 (0)