use submissionDate/confirmations from current tx in processTransaction

This commit is contained in:
Mikhail 2020-08-31 15:14:51 +04:00
parent 4f32f77ef9
commit e000bc6d0b
1 changed files with 2 additions and 2 deletions

View File

@ -105,9 +105,9 @@ const processTransaction = ({ approveAndExecute, notifiedTransaction, safeAddres
const txToMock: TxToMock = {
...txArgs,
confirmations: [], // this is used to determine if a tx is pending or not. See `calculateTransactionStatus` helper
confirmations: txArgs.confirmations, // this is used to determine if a tx is pending or not. See `calculateTransactionStatus` helper
value: txArgs.valueInWei,
submissionDate: new Date().toISOString(),
submissionDate: txArgs.submissionDate,
}
const mockedTx = await mockTransaction(txToMock, safeAddress, state)