I think I have found an issue in the UtxoDeposit listener function in the synchronizer.
In the listenDepositUtxos function, while processing the existing blocks, if the owner of a DepositUtxo event is not one of the addresses being tracked, it exits the function (return statement). This prevent processing of all further events and blocks.
I think I have found an issue in the UtxoDeposit listener function in the synchronizer.
In the
listenDepositUtxos
function, while processing the existing blocks, if the owner of aDepositUtxo
event is not one of theaddresses
being tracked, it exits the function (return
statement). This prevent processing of all further events and blocks.Moreover it prevents the code for attaching a subscriber to the future events being executed.
This PR changed the
return
statement tocontinue
so only that particular event is skipped.