Skip to content

Commit

Permalink
fix: allow null for totalDifficulty
Browse files Browse the repository at this point in the history
  • Loading branch information
petarTxFusion committed Dec 6, 2024
1 parent dcbb663 commit d3579d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ const _formatBlock = object({
timestamp: getNumber,
nonce: allowNull(formatData),
difficulty: getBigInt,
totalDifficulty: getBigInt,
totalDifficulty: allowNull(getBigInt),

gasLimit: getBigInt,
gasUsed: getBigInt,
Expand Down

0 comments on commit d3579d9

Please sign in to comment.