mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-26 17:48:50 +00:00
use submissionDate/confirmations from current tx in processTransaction
This commit is contained in:
parent
4f32f77ef9
commit
e000bc6d0b
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user