aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaran <maran.hidskes@gmail.com>2014-06-11 17:40:13 +0800
committerMaran <maran.hidskes@gmail.com>2014-06-11 17:40:13 +0800
commit57e3b1b093a2533e26198e9198b85556bf362b27 (patch)
treef391d2adb7b1d7457fa25b8d0e09f8462929dd25
parent0ee258bb75a4b6649f67499884871d4ca774cd1f (diff)
downloadgo-tangerine-57e3b1b093a2533e26198e9198b85556bf362b27.tar
go-tangerine-57e3b1b093a2533e26198e9198b85556bf362b27.tar.gz
go-tangerine-57e3b1b093a2533e26198e9198b85556bf362b27.tar.bz2
go-tangerine-57e3b1b093a2533e26198e9198b85556bf362b27.tar.lz
go-tangerine-57e3b1b093a2533e26198e9198b85556bf362b27.tar.xz
go-tangerine-57e3b1b093a2533e26198e9198b85556bf362b27.tar.zst
go-tangerine-57e3b1b093a2533e26198e9198b85556bf362b27.zip
Implemented usedGas to the explorer
-rw-r--r--ethereal/assets/qml/wallet.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/ethereal/assets/qml/wallet.qml b/ethereal/assets/qml/wallet.qml
index 70e877be6..0555cd2f2 100644
--- a/ethereal/assets/qml/wallet.qml
+++ b/ethereal/assets/qml/wallet.qml
@@ -419,7 +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"}
+ Text { text: '<b>Gas used:</b> ' + gasUsed + " / " + gasLimit; color: "#F2F2F2"}
}
}
}
@@ -643,9 +643,9 @@ ApplicationWindow {
}
if(initial){
- 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)})
+ blockModel.append({number: block.number, gasLimit: block.gasLimit, gasUsed: block.gasUsed, coinbase: block.coinbase, hash: block.hash, txs: txs, txAmount: amount, time: block.time, prettyTime: convertToPretty(block.time)})
}else{
- 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)})
+ blockModel.insert(0, {number: block.number, gasLimit: block.gasLimit, gasUsed: block.gasUsed, coinbase: block.coinbase, hash: block.hash, txs: txs, txAmount: amount, time: block.time, prettyTime: convertToPretty(block.time)})
}
}