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
0ed3edc9
Commit
0ed3edc9
authored
Jan 30, 2015
by
obscuren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
"fixed" transaction view
parent
0c070807
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
main.qml
cmd/mist/assets/qml/main.qml
+1
-1
info.qml
cmd/mist/assets/qml/views/info.qml
+1
-1
wallet.qml
cmd/mist/assets/qml/views/wallet.qml
+3
-4
No files found.
cmd/mist/assets/qml/main.qml
View file @
0ed3edc9
...
...
@@ -103,7 +103,7 @@ ApplicationWindow {
return
views
}
catch
(
e
)
{
ethx
.
note
(
e
)
console
.
log
(
e
)
}
}
...
...
cmd/mist/assets/qml/views/info.qml
View file @
0ed3edc9
...
...
@@ -28,7 +28,7 @@ Rectangle {
text
:
"Address"
}
TextField
{
text
:
""
//eth.key().address
text
:
eth
.
coinbase
()
width
:
500
}
...
...
cmd/mist/assets/qml/views/wallet.qml
View file @
0ed3edc9
...
...
@@ -20,10 +20,9 @@ Rectangle {
}
function
setBalance
()
{
//balance.text = "<b>Balance</b>: " + eth.numberToHuman(eth.balanceAt(eth.key().address
))
balance
.
text
=
"<b>Balance</b>: "
+
eth
.
numberToHuman
(
eth
.
balanceAt
(
eth
.
coinbase
()
))
if
(
menuItem
)
menuItem
.
secondaryTitle
=
eth
.
numberToHuman
(
"0"
)
//menuItem.secondaryTitle = eth.numberToHuman(eth.balanceAt(eth.key().address))
menuItem
.
secondaryTitle
=
eth
.
numberToHuman
(
eth
.
balanceAt
(
eth
.
coinbase
()))
}
ListModel
{
...
...
@@ -131,7 +130,7 @@ Rectangle {
onClicked
:
{
var
value
=
txValue
.
text
+
denomModel
.
get
(
valueDenom
.
currentIndex
).
zeros
;
var
gasPrice
=
"10000000000000"
//var res = eth.transact({from: eth.key().privateKey
, to: txTo.text, value: value, gas: "500", gasPrice: gasPrice})
var
res
=
eth
.
transact
({
from
:
eth
.
coinbase
()
,
to
:
txTo
.
text
,
value
:
value
,
gas
:
"500"
,
gasPrice
:
gasPrice
})
}
}
}
...
...
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