ux: mnemonic flow can send signed txns
- Fixes breaking change by new version of @ethereumjs/tx:
#sign now returns a new Transaction, instead of modifying the original
commit7f9d7df20bf419c2b3a1b044da08463714889071
authortomholford <tomholford@users.noreply.github.com>
dateWed 11 Aug 2021, 11:20 (5 years ago)
parent3a5f70c
src/lib/txn.ts+1−1
@@ -110,7 +110,7 @@ const signTransaction = async ({
110110 txnSigner,
111111 });
112112 } else {
113− stx.sign(wallet.privateKey);
113+ stx = stx.sign(wallet.privateKey);
114114 }
115115
116116 return stx;