This commit is contained in:
cui 2026-02-25 21:54:52 -08:00 committed by GitHub
commit 2b71264a3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -144,7 +144,9 @@ func (b *ConstructionBlockAccessList) PrettyPrint() string {
// Copy returns a deep copy of the access list.
func (b *ConstructionBlockAccessList) Copy() *ConstructionBlockAccessList {
res := NewConstructionBlockAccessList()
res := ConstructionBlockAccessList{
Accounts: make(map[common.Address]*ConstructionAccountAccess, len(b.Accounts)),
}
for addr, aa := range b.Accounts {
var aaCopy ConstructionAccountAccess