diff options
author | Maran <maran.hidskes@gmail.com> | 2014-06-11 16:27:58 +0800 |
---|---|---|
committer | Maran <maran.hidskes@gmail.com> | 2014-06-11 16:27:58 +0800 |
commit | 0ee258bb75a4b6649f67499884871d4ca774cd1f (patch) | |
tree | 99b0582f934a57f6c499a5be967dc15d90976745 /ethereal | |
parent | 66199497a0f2e3358bc0fc7cd638cdb4cbe37eba (diff) | |
download | go-tangerine-0ee258bb75a4b6649f67499884871d4ca774cd1f.tar.gz go-tangerine-0ee258bb75a4b6649f67499884871d4ca774cd1f.tar.zst go-tangerine-0ee258bb75a4b6649f67499884871d4ca774cd1f.zip |
Add GasLimit to the block explorer
Diffstat (limited to 'ethereal')
-rw-r--r-- | ethereal/assets/qml/wallet.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ethereal/assets/qml/wallet.qml b/ethereal/assets/qml/wallet.qml index fece8e7d6..70e877be6 100644 --- a/ethereal/assets/qml/wallet.qml +++ b/ethereal/assets/qml/wallet.qml @@ -419,6 +419,7 @@ ApplicationWindow { Text { text: '<b>Hash:</b> ' + hash; color: "#F2F2F2"} Text { text: '<b>Coinbase:</b> ' + coinbase; color: "#F2F2F2"} Text { text: '<b>Block found at:</b> ' + prettyTime; color: "#F2F2F2"} + Text { text: '<b>Gas Limit:</b> ' + gasLimit; color: "#F2F2F2"} } } } @@ -642,9 +643,9 @@ ApplicationWindow { } if(initial){ - blockModel.append({number: block.number, coinbase: block.coinbase, hash: block.hash, txs: txs, txAmount: amount, time: block.time, prettyTime: convertToPretty(block.time)}) + blockModel.append({number: block.number, gasLimit: block.gasLimit, coinbase: block.coinbase, hash: block.hash, txs: txs, txAmount: amount, time: block.time, prettyTime: convertToPretty(block.time)}) }else{ - blockModel.insert(0, {number: block.number, coinbase: block.coinbase, hash: block.hash, txs: txs, txAmount: amount, time: block.time, prettyTime: convertToPretty(block.time)}) + blockModel.insert(0, {number: block.number, gasLimit: block.gasLimit, coinbase: block.coinbase, hash: block.hash, txs: txs, txAmount: amount, time: block.time, prettyTime: convertToPretty(block.time)}) } } |