core: golint updates for this or self warning (#16633)
This commit is contained in:
committed by
Péter Szilágyi
parent
670bae4cd3
commit
a7720b5926
@ -31,9 +31,9 @@ import (
|
||||
|
||||
type Storage map[common.Hash]common.Hash
|
||||
|
||||
func (self Storage) Copy() Storage {
|
||||
func (s Storage) Copy() Storage {
|
||||
cpy := make(Storage)
|
||||
for key, value := range self {
|
||||
for key, value := range s {
|
||||
cpy[key] = value
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user