Skip to content

Commit

Permalink
improve wording
Browse files Browse the repository at this point in the history
Co-authored-by: acolytec3 <17355484+acolytec3@users.noreply.github.com>
  • Loading branch information
g11tech and acolytec3 authored Jan 18, 2023
1 parent f868bc3 commit 91d2740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block/src/block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class Block {
* Returns the ssz root for array of withdrawal transactions.
* @param wts array of Withdrawal to compute the root of
*/
public static async genWithdrawalsSSZRoot(wts: Withdrawal[]) {
public static async generateWithdrawalsSSZRoot(withdrawals: Withdrawal[]) {
ssz.Withdrawals.hashTreeRoot(wts.map((wt) => wt.toValue()))
}

Expand Down

0 comments on commit 91d2740

Please sign in to comment.