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)
|
checkReceiptStatus(txHash.tx)
|
||||||
|
|
||||||
const confirmationHash = thresholdReached ? EXECUTED_CONFIRMATION_HASH : txHash.tx
|
const confirmationHash =
|
||||||
const executedConfirmations: List<Confirmation> = updateConfirmations(tx.get('confirmations'), userAddress, confirmationHash)
|
thresholdReached ? EXECUTED_CONFIRMATION_HASH : txHash.tx
|
||||||
|
const executedConfirmations: List<Confirmation> =
|
||||||
|
updateConfirmations(tx.get('confirmations'), userAddress, confirmationHash)
|
||||||
|
|
||||||
return updateTransaction(
|
return updateTransaction(
|
||||||
txName,
|
txName,
|
||||||
|
|
Loading…
Reference in New Issue