change response to base58

This commit is contained in:
PhilReact 2025-01-08 20:53:13 +02:00
parent f7e9ea8d78
commit a5389000f3

View File

@ -3290,7 +3290,7 @@ export const signTransaction = async (data, isFromExtension) => {
const signedBytes = utils.appendBuffer(arbitraryBytesBuffer, signature); const signedBytes = utils.appendBuffer(arbitraryBytesBuffer, signature);
const signedBytesToBase58 = Base58.encode(signedBytes); const signedBytesToBase58 = Base58.encode(signedBytes);
if(!shouldProcess){ if(!shouldProcess){
return uint8ArrayToBase64(signedBytes); return signedBytesToBase58
} }
const res = await processTransactionVersion2(signedBytesToBase58); const res = await processTransactionVersion2(signedBytesToBase58);
if (!res?.signature) if (!res?.signature)