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
d6233c7d
Commit
d6233c7d
authored
Jun 15, 2015
by
SilentCicero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed variable names
parent
f9a0a13f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
api.go
rpc/api.go
+1
-1
eth.go
rpc/api/eth.go
+1
-7
No files found.
rpc/api.go
View file @
d6233c7d
...
...
@@ -175,7 +175,7 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
if
err
:=
json
.
Unmarshal
(
req
.
Params
,
&
args
);
err
!=
nil
{
return
err
}
v
,
err
:=
api
.
xeth
()
.
PushTx
(
args
.
encodedTx
)
v
,
err
:=
api
.
xeth
()
.
PushTx
(
args
.
Data
)
if
err
!=
nil
{
return
err
}
...
...
rpc/api/eth.go
View file @
d6233c7d
...
...
@@ -255,13 +255,7 @@ func (self *ethApi) PushTx(req *shared.Request) (interface{}, error) {
return
nil
,
shared
.
NewDecodeParamError
(
err
.
Error
())
}
// nonce may be nil ("guess" mode)
var
nonce
string
if
args
.
Nonce
!=
nil
{
nonce
=
args
.
Nonce
.
String
()
}
v
,
err
:=
self
.
xeth
.
PushTx
(
args
.
encodedTx
)
v
,
err
:=
self
.
xeth
.
PushTx
(
args
.
Data
)
if
err
!=
nil
{
return
nil
,
err
}
...
...
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