@@ -21,6 +21,10 @@ const trezorSignTransaction = async (txn, hdpath) => {
21 transaction: trezorFormattedTxn,
21 transaction: trezorFormattedTxn,
25+ throw new Error(sig.payload.error);
24 const payload = sig.payload;
28 const payload = sig.payload;
26 txn.v = Buffer.from(payload.v.slice(2), 'hex');
30 txn.v = Buffer.from(payload.v.slice(2), 'hex');