Skip to content

Commit

Permalink
Fix Transaction Processed metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
tanuj-shardeum authored and muni-corn committed Apr 3, 2024
1 parent 41a4bd2 commit a8c1671
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pages/performance/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ export default function Performance() {
<div
className="bg-white text-stone-500 rounded-xl p-8 text-sm [&>*]:pb-2 flex flex-col flex-grow justify-center">
<div><span className='font-semibold'>Node
throughput:</span> {network?.txApplied ? network?.txApplied + ' TPS' : '-'}</div>
<div><span className='font-semibold'>Transaction processed:</span> {nullPlaceholder(nodeStatus.performance?.transactionsCount)}</div>
<div><span className='font-semibold'>State storage usage:</span> {nullPlaceholder(nodeStatus.performance?.stateStorage)}</div>
throughput:</span> {Number.isFinite(network?.txApplied) ? network?.txApplied + ' TPS' : '-'}</div>
<div><span className='font-semibold'>Transaction processed:</span> {Number.isFinite(network?.txProcessed) ? network?.txProcessed : '-'}</div>
{/* <div><span className='font-semibold'>State storage usage:</span> {nullPlaceholder(nodeStatus.performance?.stateStorage)}</div> */}
</div>
</div>
</div>
Expand Down

0 comments on commit a8c1671

Please sign in to comment.