WA-438 Refactor function, easier to read
This commit is contained in:
parent
cb721cb6bd
commit
ead7239048
|
@ -126,8 +126,10 @@ export const processTransaction = async (
|
|||
|
||||
checkReceiptStatus(txHash.tx)
|
||||
|
||||
const confirmationHash = thresholdReached ? EXECUTED_CONFIRMATION_HASH : txHash.tx
|
||||
const executedConfirmations: List<Confirmation> = updateConfirmations(tx.get('confirmations'), userAddress, confirmationHash)
|
||||
const confirmationHash =
|
||||
thresholdReached ? EXECUTED_CONFIRMATION_HASH : txHash.tx
|
||||
const executedConfirmations: List<Confirmation> =
|
||||
updateConfirmations(tx.get('confirmations'), userAddress, confirmationHash)
|
||||
|
||||
return updateTransaction(
|
||||
txName,
|
||||
|
|
Loading…
Reference in New Issue