Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion x/vm/statedb/state_object.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ func (s *stateObject) setCode(codeHash common.Hash, code []byte) {
s.dirtyCode = true
}

// SetCode set nonce to account
// SetNonce set nonce to account
func (s *stateObject) SetNonce(nonce uint64) {
s.db.journal.append(nonceChange{
account: &s.address,
Expand Down
2 changes: 1 addition & 1 deletion x/vm/types/permissions.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func getCanCreateFn(accessControl *AccessControl, signer common.Address) callerF
return func(_ common.Address) bool { return false }
}

// CanCreate implements the PermissionPolicy interface.
// CanCall implements the PermissionPolicy interface.
// It allows calls if access type is set to everybody.
// Otherwise, it checks if:
// - The signer is allowed to do so.
Expand Down