aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/library.go2
-rw-r--r--wallet.qml10
2 files changed, 11 insertions, 1 deletions
diff --git a/ui/library.go b/ui/library.go
index c9273e8c5..3bbb01314 100644
--- a/ui/library.go
+++ b/ui/library.go
@@ -40,6 +40,8 @@ func (lib *EthLib) CreateTx(receiver, a, data string) string {
if len(receiver) == 0 {
ethutil.Config.Log.Infof("Contract addr %x", tx.Hash()[12:])
+ } else {
+ ethutil.Config.Log.Infof("Tx hash %x", tx.Hash())
}
return ethutil.Hex(tx.Hash())
diff --git a/wallet.qml b/wallet.qml
index e7145cef3..3e921b78d 100644
--- a/wallet.qml
+++ b/wallet.qml
@@ -222,6 +222,10 @@ ApplicationWindow {
}
Label {
+ id: walletValueLabel
+ }
+
+ Label {
anchors.right: peerImage.left
anchors.rightMargin: 5
id: peerLabel
@@ -270,7 +274,7 @@ ApplicationWindow {
text: "Add"
onClicked: {
ui.connectToPeer(addrField.text)
- addrPeerWin.visible = false
+ addPeerWin.visible = false
}
}
}
@@ -291,6 +295,10 @@ ApplicationWindow {
}
+ function setWalletValue(value) {
+ walletValueLabel.text = value
+ }
+
function addTx(tx) {
txModel.insert(0, {hash: tx.hash, address: tx.address, value: tx.value})
}