change response to base58

This commit is contained in:
PhilReact 2025-01-08 20:51:47 +02:00
parent ae12c31fd0
commit 06c68dd8e8

View File

@ -3471,7 +3471,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)