Fixes DSSendL2Block batch number. It must use batchNumber field from the l2Block.batch object, as in parallel mode the f.wipBatch can be different of the batch that is being stored (f.sipBatch). Therefore, to be safe, we must use the batchNumber of the batch to which the L2Block belongs (l2Block.batch)
What does this PR do?
Fixes DSSendL2Block batch number. It must use batchNumber field from the l2Block.batch object, as in parallel mode the f.wipBatch can be different of the batch that is being stored (f.sipBatch). Therefore, to be safe, we must use the batchNumber of the batch to which the L2Block belongs (l2Block.batch)
Reviewers
Main reviewers:
@ToniRamirezM