Workaround for difficult overflow on ethers 5.5.x; using _difficult field: BigNumber; must change wen ethers 6
This commit is contained in:
parent
5533e7786e
commit
5e4be33121
|
@ -166,7 +166,7 @@ const Block: React.FC = () => {
|
|||
<USDValue value={blockETHUSDPrice} />
|
||||
</InfoRow>
|
||||
<InfoRow title="Difficult">
|
||||
{block.difficulty ? commify(block.difficulty) : "?"}
|
||||
{commify(block._difficulty.toString())}
|
||||
</InfoRow>
|
||||
<InfoRow title="Total Difficult">
|
||||
{commify(block.totalDifficulty.toString())}
|
||||
|
|
Loading…
Reference in New Issue