Skip to content

Commit

Permalink
Merge pull request #456 from pqv199x/replace-gaslimit-finality
Browse files Browse the repository at this point in the history
Replace gaslimit with finality
  • Loading branch information
khaihkd authored Oct 18, 2018
2 parents 83d98a0 + 5f85b1b commit e9a97e2
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions client/pages/blocks/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,8 @@
</template>

<template
slot="gasUsed"
slot-scope="props">
<p><span>{{ formatNumber(props.item.gasUsed) }}</span>
<small>({{ (100 * props.item.gasUsed / props.item.gasLimit).toFixed(2) }} %)</small>
</p>
</template>

<template
slot="gasLimit"
slot-scope="props">{{ formatNumber(props.item.gasLimit) }}</template>
slot="finality"
slot-scope="props">{{ formatNumber(props.item.finality) }}</template>
</table-base>

<b-pagination-nav
Expand Down Expand Up @@ -99,7 +91,7 @@ export default {
e_tx: { label: 'txn' },
miner: { label: 'Miner' },
gasUsed: { label: 'GasUsed' },
gasLimit: { label: 'GasLimit' }
finality: { label: 'Finality' }
},
loading: true,
pagination: {},
Expand Down

0 comments on commit e9a97e2

Please sign in to comment.