tx: use fromwallet's private key to sign tx
commit0106e4421cb4ad0d441aaa707aae59f8056b3e0e
authortomholford <tomholford@users.noreply.github.com>
dateWed 15 Sep 2021, 11:14 (5 years ago)
parent86d702c
src/lib/useRoller.ts+1
@@ -530,6 +530,7 @@ export default function useRoller() {
530530 keysData
531531 );
532532
533+ const keysSigningKey = fromWallet.privateKey;
533534 await api.configureKeys(
534535 signTransactionHash(keysHash, Buffer.from(keysSigningKey, 'hex')),
535536 keysFrom,