Skip to content

Commit 85bfd20

Browse files
committed
update comment
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
1 parent 720d753 commit 85bfd20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ethereum/core/src/main/java/org/hyperledger/besu/ethereum/mainnet/parallelization/TransactionCollisionDetector.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ public class TransactionCollisionDetector {
3636
*
3737
* <p>This method detects conflicts between the transaction and the block's state by checking if
3838
* the transaction modifies the same addresses and storage slots that are already modified by the
39-
* block. A conflict occurs in two cases: - If the transaction touches an address that is also
39+
* block. A conflict occurs in two cases: 1. If the transaction touches an address that is also
4040
* modified in the block, and the account details (excluding storage) are identical. In this case,
4141
* it checks if there is an overlap in the storage slots affected by both the transaction and the
42-
* block. - If the account details differ between the transaction and the block (excluding
42+
* block. 2. If the account details differ between the transaction and the block (excluding
4343
* storage), it immediately detects a conflict.
4444
*
4545
* <p>The method returns `true` if any such conflict is found, otherwise `false`.

0 commit comments

Comments
 (0)