Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
6451a718
Commit
6451a718
authored
Feb 25, 2014
by
obscuren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor UI change
parent
78b6e7ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
library.go
ui/library.go
+2
-0
wallet.qml
wallet.qml
+9
-1
No files found.
ui/library.go
View file @
6451a718
...
@@ -40,6 +40,8 @@ func (lib *EthLib) CreateTx(receiver, a, data string) string {
...
@@ -40,6 +40,8 @@ func (lib *EthLib) CreateTx(receiver, a, data string) string {
if
len
(
receiver
)
==
0
{
if
len
(
receiver
)
==
0
{
ethutil
.
Config
.
Log
.
Infof
(
"Contract addr %x"
,
tx
.
Hash
()[
12
:
])
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
())
return
ethutil
.
Hex
(
tx
.
Hash
())
...
...
wallet.qml
View file @
6451a718
...
@@ -221,6 +221,10 @@ ApplicationWindow {
...
@@ -221,6 +221,10 @@ ApplicationWindow {
text
:
"Import App"
text
:
"Import App"
}
}
Label
{
id
:
walletValueLabel
}
Label
{
Label
{
anchors.right
:
peerImage
.
left
anchors.right
:
peerImage
.
left
anchors.rightMargin
:
5
anchors.rightMargin
:
5
...
@@ -270,7 +274,7 @@ ApplicationWindow {
...
@@ -270,7 +274,7 @@ ApplicationWindow {
text
:
"Add"
text
:
"Add"
onClicked
:
{
onClicked
:
{
ui
.
connectToPeer
(
addrField
.
text
)
ui
.
connectToPeer
(
addrField
.
text
)
add
r
PeerWin
.
visible
=
false
addPeerWin
.
visible
=
false
}
}
}
}
}
}
...
@@ -291,6 +295,10 @@ ApplicationWindow {
...
@@ -291,6 +295,10 @@ ApplicationWindow {
}
}
function
setWalletValue
(
value
)
{
walletValueLabel
.
text
=
value
}
function
addTx
(
tx
)
{
function
addTx
(
tx
)
{
txModel
.
insert
(
0
,
{
hash
:
tx
.
hash
,
address
:
tx
.
address
,
value
:
tx
.
value
})
txModel
.
insert
(
0
,
{
hash
:
tx
.
hash
,
address
:
tx
.
address
,
value
:
tx
.
value
})
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment