Skip to content

Commit 3aa874b

Browse files
authored
core/state: rename all the AccessList receivers to 'al' (#29921)
rename all the receivers to 'al'
1 parent 85587d5 commit 3aa874b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/state/access_list.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ func newAccessList() *accessList {
6060
}
6161

6262
// Copy creates an independent copy of an accessList.
63-
func (a *accessList) Copy() *accessList {
63+
func (al *accessList) Copy() *accessList {
6464
cp := newAccessList()
65-
cp.addresses = maps.Clone(a.addresses)
66-
cp.slots = make([]map[common.Hash]struct{}, len(a.slots))
67-
for i, slotMap := range a.slots {
65+
cp.addresses = maps.Clone(al.addresses)
66+
cp.slots = make([]map[common.Hash]struct{}, len(al.slots))
67+
for i, slotMap := range al.slots {
6868
cp.slots[i] = maps.Clone(slotMap)
6969
}
7070
return cp

0 commit comments

Comments
 (0)