Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cakesoft-vaibhav committed Feb 21, 2025
1 parent b0925b4 commit 477bdcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screens/SignTransaction/signWithSD.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export const signTransactionWithPortal = async ({
const signedRes = await PORTAL.signPSBT(psbt);
// Check if psbt and signed psbt are same, if yes then vault registration is required.
if (psbt == signedRes) {
throw { message: 'Please register the vault before signing.' };
throw new Error('Please register the vault before signing.');
}
await PORTAL.stopReading();
return { signedSerializedPSBT: signedRes };
Expand Down

0 comments on commit 477bdcf

Please sign in to comment.