Skip to content

Commit c3d7bff

Browse files
committed
fixed comment
1 parent a5a3b05 commit c3d7bff

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/contracts/libraries/BeaconChainProofs.sol

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -325,11 +325,9 @@ library BeaconChainProofs {
325325

326326
{
327327
/**
328-
* Next we verify the withdrawal fields against the blockRoot:
329-
* First we compute the withdrawal_index relative to the blockRoot by concatenating the indexes of all the
330-
* intermediate root indexes from the bottom of the sub trees (the withdrawal container) to the top, the blockRoot.
331-
* Then we calculate merkleize the withdrawalFields container to calculate the the withdrawalRoot.
332-
* Finally we verify the withdrawalRoot against the executionPayloadRoot.
328+
* Next we verify the withdrawal fields against the executionPayloadRoot:
329+
* First we compute the withdrawal_index, then we merkleize the
330+
* withdrawalFields container to calculate the the withdrawalRoot.
333331
*
334332
*
335333
* Note: Merkleization of the withdrawals root tree uses MerkleizeWithMixin, i.e., the length of the array is hashed with the root of

0 commit comments

Comments
 (0)