Skip to content

Commit e9a97e2

Browse files
authored
Merge pull request #456 from pqv199x/replace-gaslimit-finality
Replace gaslimit with finality
2 parents 83d98a0 + 5f85b1b commit e9a97e2

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

client/pages/blocks/index.vue

+3-11
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,8 @@
5151
</template>
5252

5353
<template
54-
slot="gasUsed"
55-
slot-scope="props">
56-
<p><span>{{ formatNumber(props.item.gasUsed) }}</span>
57-
<small>({{ (100 * props.item.gasUsed / props.item.gasLimit).toFixed(2) }} %)</small>
58-
</p>
59-
</template>
60-
61-
<template
62-
slot="gasLimit"
63-
slot-scope="props">{{ formatNumber(props.item.gasLimit) }}</template>
54+
slot="finality"
55+
slot-scope="props">{{ formatNumber(props.item.finality) }}</template>
6456
</table-base>
6557

6658
<b-pagination-nav
@@ -99,7 +91,7 @@ export default {
9991
e_tx: { label: 'txn' },
10092
miner: { label: 'Miner' },
10193
gasUsed: { label: 'GasUsed' },
102-
gasLimit: { label: 'GasLimit' }
94+
finality: { label: 'Finality' }
10395
},
10496
loading: true,
10597
pagination: {},

0 commit comments

Comments
 (0)