If the deposit for a transfer is already inserted, we shouldn't try to insert it again. This can happen if the processing of a block fails during fee insertion.
Related Issue Or Context
Closes: #
How Has This Been Tested? Testing details.
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation
Checklist:
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have ensured that all acceptance criteria (or expected behavior) from issue are met
[ ] I have updated the documentation locally and in chainbridge-docs.
[ ] I have added tests to cover my changes.
[ ] I have ensured that all the checks are passing and green, I've signed the CLA bot
check if deposit/fee already inserted
Description
If the deposit for a transfer is already inserted, we shouldn't try to insert it again. This can happen if the processing of a block fails during fee insertion.
Related Issue Or Context
Closes: #
How Has This Been Tested? Testing details.
Types of changes
Checklist: