diff options
author | obscuren <geffobscura@gmail.com> | 2014-09-25 16:33:05 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-09-25 16:33:05 +0800 |
commit | dc944f75186bbee08ad8cd1dad8a296dc71f99bc (patch) | |
tree | bfde1b2f22b32b49ee8a0cd96844e5eac5d562a5 /mist/assets/qml/views/wallet.qml | |
parent | d5d1e503652cc6c53a265404d8fdda53fad58fa8 (diff) | |
download | go-tangerine-dc944f75186bbee08ad8cd1dad8a296dc71f99bc.tar go-tangerine-dc944f75186bbee08ad8cd1dad8a296dc71f99bc.tar.gz go-tangerine-dc944f75186bbee08ad8cd1dad8a296dc71f99bc.tar.bz2 go-tangerine-dc944f75186bbee08ad8cd1dad8a296dc71f99bc.tar.lz go-tangerine-dc944f75186bbee08ad8cd1dad8a296dc71f99bc.tar.xz go-tangerine-dc944f75186bbee08ad8cd1dad8a296dc71f99bc.tar.zst go-tangerine-dc944f75186bbee08ad8cd1dad8a296dc71f99bc.zip |
Added some lookup helper methods for name reg
Diffstat (limited to 'mist/assets/qml/views/wallet.qml')
-rw-r--r-- | mist/assets/qml/views/wallet.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mist/assets/qml/views/wallet.qml b/mist/assets/qml/views/wallet.qml index a3a4a6e7c..a57e7869a 100644 --- a/mist/assets/qml/views/wallet.qml +++ b/mist/assets/qml/views/wallet.qml @@ -160,7 +160,9 @@ Rectangle { function addTxs(messages) { for(var i = 0; i < messages.length; i++) { var message = messages.get(i); - txModel.insert(0, {num: txModel.count, from: message.from, to: message.to, value: eth.numberToHuman(message.value)}) + var to = eth.lookupName(message.to); + var from = eth.lookupName(message.from); + txModel.insert(0, {num: txModel.count, from: from, to: to, value: eth.numberToHuman(message.value)}) } } } |