IndividualBlockLock.announceBlockDoesNotExist should not use global blockId variable

Description

IndividualBlockLock.announceBlockDoesNotExist is called in IndividualBlockLock.readBlock, but readBlock take a blockId as a parameter while announceBlockDoesNotExist use the blockId which is global to the class. This could result in a discrepancy between the block that does not exist and the block that is announced as does not exist.

To fix this announceBlockDoesNotExist should take the blockId as a parameter.

Assignee

Mahmoud Ismail

Reporter

Gautier Berthou

Labels

None

Fix versions

Priority

Medium
Configure