core: golint updates for this or self warning (#16633)

This commit is contained in:
kiel barry
2018-05-02 01:27:59 -07:00
committed by Péter Szilágyi
parent 670bae4cd3
commit a7720b5926
4 changed files with 18 additions and 18 deletions

View File

@ -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
}