Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech committed Jan 18, 2023
1 parent 91d2740 commit 8bbb708
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 @@ -58,7 +58,7 @@ export class Block {
* @param wts array of Withdrawal to compute the root of
*/
public static async generateWithdrawalsSSZRoot(withdrawals: Withdrawal[]) {
ssz.Withdrawals.hashTreeRoot(wts.map((wt) => wt.toValue()))
ssz.Withdrawals.hashTreeRoot(withdrawals.map((wt) => wt.toValue()))
}

/**
Expand Down

1 comment on commit 8bbb708

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: 8bbb708 Previous: 8bcdb48 Ratio
Block 9422908 9403 ops/sec (±6.72%) 19113 ops/sec (±1.45%) 2.03

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.