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
f891fd98
Commit
f891fd98
authored
Aug 07, 2019
by
Corey Lin
Committed by
Péter Szilágyi
Aug 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core/vm: fix comment grammar (#19923)
* core/vm:modify comment errors * modify its back to it's
parent
beff5fa5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
contract.go
core/vm/contract.go
+1
-1
evm.go
core/vm/evm.go
+1
-1
No files found.
core/vm/contract.go
View file @
f891fd98
...
...
@@ -162,7 +162,7 @@ func (c *Contract) Address() common.Address {
return
c
.
self
.
Address
()
}
// Value returns the contracts value (sent to it from it's caller)
// Value returns the contract
'
s value (sent to it from it's caller)
func
(
c
*
Contract
)
Value
()
*
big
.
Int
{
return
c
.
value
}
...
...
core/vm/evm.go
View file @
f891fd98
...
...
@@ -35,7 +35,7 @@ type (
CanTransferFunc
func
(
StateDB
,
common
.
Address
,
*
big
.
Int
)
bool
// TransferFunc is the signature of a transfer function
TransferFunc
func
(
StateDB
,
common
.
Address
,
common
.
Address
,
*
big
.
Int
)
// GetHashFunc returns the nth block hash in the blockchain
// GetHashFunc returns the n
'
th block hash in the blockchain
// and is used by the BLOCKHASH EVM op code.
GetHashFunc
func
(
uint64
)
common
.
Hash
)
...
...
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