Correctly set a validator status as not required (#410)
This commit is contained in:
parent
fa6b37db1c
commit
8cf73d572c
@ -118,7 +118,10 @@ export const getConfirmationsForTx = async (
|
|||||||
status: VALIDATOR_CONFIRMATION_STATUS.NOT_REQUIRED
|
status: VALIDATOR_CONFIRMATION_STATUS.NOT_REQUIRED
|
||||||
}))
|
}))
|
||||||
|
|
||||||
validatorConfirmations = [...validatorConfirmations, ...notRequiredConfirmations]
|
notRequiredConfirmations.forEach(validatorData => {
|
||||||
|
const index = validatorConfirmations.findIndex(e => e.validator === validatorData.validator)
|
||||||
|
validatorConfirmations[index] = validatorData
|
||||||
|
})
|
||||||
signatureCollectedResult = true
|
signatureCollectedResult = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user