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
245ffb11
Commit
245ffb11
authored
Aug 20, 2014
by
obscuren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed transact
parent
fb49e556
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
wallet.qml
ethereal/assets/qml/views/wallet.qml
+1
-1
wallet.qml
ethereal/assets/qml/wallet.qml
+1
-1
No files found.
ethereal/assets/qml/views/wallet.qml
View file @
245ffb11
...
@@ -125,7 +125,7 @@ Rectangle {
...
@@ -125,7 +125,7 @@ Rectangle {
onClicked
:
{
onClicked
:
{
var
value
=
txValue
.
text
+
denomModel
.
get
(
valueDenom
.
currentIndex
).
zeros
;
var
value
=
txValue
.
text
+
denomModel
.
get
(
valueDenom
.
currentIndex
).
zeros
;
var
gasPrice
=
"10000000000000"
var
gasPrice
=
"10000000000000"
var
res
=
eth
.
transact
(
eth
.
key
().
privateKey
,
txTo
.
text
,
value
,
"500"
,
gasPrice
,
""
)
var
res
=
eth
.
transact
(
{
from
:
eth
.
key
().
privateKey
,
to
:
txTo
.
text
,
value
:
value
,
gas
:
"500"
,
gasPrice
:
gasPrice
}
)
console
.
log
(
res
)
console
.
log
(
res
)
}
}
}
}
...
...
ethereal/assets/qml/wallet.qml
View file @
245ffb11
...
@@ -26,7 +26,7 @@ ApplicationWindow {
...
@@ -26,7 +26,7 @@ ApplicationWindow {
function
invokeFilterCallback
(
data
,
receiverSeed
,
callbackSeed
)
{
function
invokeFilterCallback
(
data
,
receiverSeed
,
callbackSeed
)
{
var
messages
=
JSON
.
parse
(
data
)
var
messages
=
JSON
.
parse
(
data
)
// Signal handler
// Signal handler
message
(
data
,
receiverSeed
,
callbackSeed
);
message
(
messages
,
receiverSeed
,
callbackSeed
);
}
}
TextField
{
TextField
{
...
...
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