We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a23974e commit 470bbafCopy full SHA for 470bbaf
packages/bitcore-node/src/providers/chain-state/evm/models/block.ts
@@ -267,7 +267,7 @@ export class EVMBlockModel extends BaseBlock<IEVMBlock> {
267
nonce: new Binary(Buffer.from(block.extraData)),
268
previousBlockHash: block.parentHash,
269
difficulty: block.difficulty.toString(),
270
- totalDifficulty: block.totalDifficulty.toString(),
+ totalDifficulty: block.totalDifficulty?.toString(),
271
nextBlockHash: '',
272
transactionCount: block.transactions.length,
273
size: block.size,
0 commit comments