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} />
|
<USDValue value={blockETHUSDPrice} />
|
||||||
</InfoRow>
|
</InfoRow>
|
||||||
<InfoRow title="Difficult">
|
<InfoRow title="Difficult">
|
||||||
{block.difficulty ? commify(block.difficulty) : "?"}
|
{commify(block._difficulty.toString())}
|
||||||
</InfoRow>
|
</InfoRow>
|
||||||
<InfoRow title="Total Difficult">
|
<InfoRow title="Total Difficult">
|
||||||
{commify(block.totalDifficulty.toString())}
|
{commify(block.totalDifficulty.toString())}
|
||||||
|
|
Loading…
Reference in New Issue