Skip to content

Commit

Permalink
Fix consensusBlockValue unit in debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
ensi321 committed Jan 22, 2024
1 parent 0f375fa commit a7b9d44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/validator/src/services/block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export class BlockProposingService {
executionPayloadValue: `${formatBigDecimal(response.executionPayloadValue, ETH_TO_WEI, MAX_DECIMAL_FACTOR)} ETH`,
consensusBlockValue: `${formatBigDecimal(response.consensusBlockValue, ETH_TO_WEI, MAX_DECIMAL_FACTOR)} ETH`,
totalBlockValue: `${formatBigDecimal(
response.executionPayloadValue + gweiToWei(response.consensusBlockValue),
response.executionPayloadValue + response.consensusBlockValue,
ETH_TO_WEI,
MAX_DECIMAL_FACTOR
)} ETH`,
Expand Down

0 comments on commit a7b9d44

Please sign in to comment.