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
03aaea11
Unverified
Commit
03aaea11
authored
3 years ago
by
Denver
Committed by
GitHub
3 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
internal/ethapi: use same receiver names (#24252)
* Chore: use same receiver names * Fix syntax issues
parent
7dec26db
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
transaction_args.go
internal/ethapi/transaction_args.go
+8
-8
No files found.
internal/ethapi/transaction_args.go
View file @
03aaea11
...
...
@@ -55,20 +55,20 @@ type TransactionArgs struct {
}
// from retrieves the transaction sender address.
func
(
arg
*
TransactionArgs
)
from
()
common
.
Address
{
if
arg
.
From
==
nil
{
func
(
arg
s
*
TransactionArgs
)
from
()
common
.
Address
{
if
arg
s
.
From
==
nil
{
return
common
.
Address
{}
}
return
*
arg
.
From
return
*
arg
s
.
From
}
// data retrieves the transaction calldata. Input field is preferred.
func
(
arg
*
TransactionArgs
)
data
()
[]
byte
{
if
arg
.
Input
!=
nil
{
return
*
arg
.
Input
func
(
arg
s
*
TransactionArgs
)
data
()
[]
byte
{
if
arg
s
.
Input
!=
nil
{
return
*
arg
s
.
Input
}
if
arg
.
Data
!=
nil
{
return
*
arg
.
Data
if
arg
s
.
Data
!=
nil
{
return
*
arg
s
.
Data
}
return
nil
}
...
...
This diff is collapsed.
Click to expand it.
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