Reorder difficult/total difficult fields

This commit is contained in:
Willian Mitsuda 2021-07-28 04:27:08 -03:00
parent 91dd933aa2
commit d893eb8545
1 changed files with 6 additions and 6 deletions

View File

@ -106,12 +106,6 @@ const Block: React.FC = () => {
<InfoRow title="Uncles Reward"> <InfoRow title="Uncles Reward">
<TransactionValue value={block.unclesReward} /> <TransactionValue value={block.unclesReward} />
</InfoRow> </InfoRow>
<InfoRow title="Difficult">
{ethers.utils.commify(block.difficulty)}
</InfoRow>
<InfoRow title="Total Difficult">
{ethers.utils.commify(block.totalDifficulty.toString())}
</InfoRow>
<InfoRow title="Size"> <InfoRow title="Size">
{ethers.utils.commify(block.size)} bytes {ethers.utils.commify(block.size)} bytes
</InfoRow> </InfoRow>
@ -157,6 +151,12 @@ const Block: React.FC = () => {
<span className="font-data">{block.extraData}</span>) <span className="font-data">{block.extraData}</span>)
</InfoRow> </InfoRow>
<InfoRow title="Ether Price">N/A</InfoRow> <InfoRow title="Ether Price">N/A</InfoRow>
<InfoRow title="Difficult">
{ethers.utils.commify(block.difficulty)}
</InfoRow>
<InfoRow title="Total Difficult">
{ethers.utils.commify(block.totalDifficulty.toString())}
</InfoRow>
<InfoRow title="Hash"> <InfoRow title="Hash">
<HexValue value={block.hash} /> <HexValue value={block.hash} />
</InfoRow> </InfoRow>