on master help sign in
tx: use fromwallet's private key to sign tx
0106e44tomholford
src/lib/useRoller.ts+1
@@ -530,6 +530,7 @@ export default function useRoller() {
530 keysData
530 keysData
531 );
531 );
532
532
533+ const keysSigningKey = fromWallet.privateKey;
533 await api.configureKeys(
534 await api.configureKeys(
534 signTransactionHash(keysHash, Buffer.from(keysSigningKey, 'hex')),
535 signTransactionHash(keysHash, Buffer.from(keysSigningKey, 'hex')),
535 keysFrom,
536 keysFrom,