Enable withSignedTransaction for signing and sending payloads (#10714)
* Enable `withSignedTransaction` for signing and sending payloads * remove option from `execute`
This commit is contained in:
parent
04b033c1c1
commit
ce4153e844
@ -326,7 +326,7 @@ function TxSigned ({ className, currentItem, isQueueSubmit, queueSize, requestAd
|
||||
if (senderInfo.signAddress) {
|
||||
const [tx, [status, pairOrAddress, options, isMockSign]] = await Promise.all([
|
||||
wrapTx(api, currentItem, senderInfo),
|
||||
extractParams(api, senderInfo.signAddress, { nonce: -1, tip }, getLedger, setQrState)
|
||||
extractParams(api, senderInfo.signAddress, { nonce: -1, tip, withSignedTransaction: true }, getLedger, setQrState)
|
||||
]);
|
||||
|
||||
queueSetTxStatus(currentItem.id, status);
|
||||
@ -342,7 +342,7 @@ function TxSigned ({ className, currentItem, isQueueSubmit, queueSize, requestAd
|
||||
if (senderInfo.signAddress) {
|
||||
const [tx, [, pairOrAddress, options, isMockSign]] = await Promise.all([
|
||||
wrapTx(api, currentItem, senderInfo),
|
||||
extractParams(api, senderInfo.signAddress, { ...signedOptions, tip }, getLedger, setQrState)
|
||||
extractParams(api, senderInfo.signAddress, { ...signedOptions, tip, withSignedTransaction: true }, getLedger, setQrState)
|
||||
]);
|
||||
|
||||
setSignedTx(await signAsync(queueSetTxStatus, currentItem, tx, pairOrAddress, options, api, isMockSign));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user