Any address instead of my own

This commit is contained in:
obscuren 2014-08-25 13:02:20 +02:00
parent e68c502f7a
commit 1cdf0a2c51

View File

@ -151,7 +151,7 @@ Rectangle {
model: ListModel {
id: txModel
Component.onCompleted: {
var messages = JSON.parse(eth.messages({latest: -1, from: "e6716f9544a56c530d868e4bfbacb172315bdead"}))
var messages = JSON.parse(eth.messages({latest: -1, from: eth.key().address}))
for(var i = 0; i < messages.length; i++) {
var message = messages[i];
this.insert(0, {num: i, from: message.from, to: message.to, value: eth.numberToHuman(message.value)})