diff options
author | obscuren <geffobscura@gmail.com> | 2014-07-18 04:30:17 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-07-18 04:30:17 +0800 |
commit | 01d9107bce356e4de94b9506246672d003948203 (patch) | |
tree | 0d6dcecdce2e4e06f91e2dfdf14d6e92ec063cbd /ethereal/assets | |
parent | ba3fabda774cc3f0c12542985c7ff252abc034da (diff) | |
download | dexon-01d9107bce356e4de94b9506246672d003948203.tar.gz dexon-01d9107bce356e4de94b9506246672d003948203.tar.zst dexon-01d9107bce356e4de94b9506246672d003948203.zip |
Add namecoin name if available to block
Diffstat (limited to 'ethereal/assets')
-rw-r--r-- | ethereal/assets/qml/wallet.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ethereal/assets/qml/wallet.qml b/ethereal/assets/qml/wallet.qml index afb210bec..a9e309356 100644 --- a/ethereal/assets/qml/wallet.qml +++ b/ethereal/assets/qml/wallet.qml @@ -472,7 +472,7 @@ ApplicationWindow { Text { text: '<h3>Block details</h3>'; color: "#F2F2F2"} Text { text: '<b>Block number:</b> ' + number; color: "#F2F2F2"} Text { text: '<b>Hash:</b> ' + hash; color: "#F2F2F2"} - Text { text: '<b>Coinbase:</b> ' + coinbase; color: "#F2F2F2"} + Text { text: '<b>Coinbase:</b> <' + name + '> ' + coinbase; color: "#F2F2F2"} Text { text: '<b>Block found at:</b> ' + prettyTime; color: "#F2F2F2"} Text { text: '<b>Gas used:</b> ' + gasUsed + " / " + gasLimit; color: "#F2F2F2"} } @@ -699,9 +699,9 @@ ApplicationWindow { } if(initial){ - 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)}) + blockModel.append({number: block.number, name: block.name, 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, gasUsed: block.gasUsed, coinbase: block.coinbase, hash: block.hash, txs: txs, txAmount: amount, time: block.time, prettyTime: convertToPretty(block.time)}) + blockModel.insert(0, {number: block.number, name: block.name, gasLimit: block.gasLimit, gasUsed: block.gasUsed, coinbase: block.coinbase, hash: block.hash, txs: txs, txAmount: amount, time: block.time, prettyTime: convertToPretty(block.time)}) } } |