fix bal construction type constructor name

This commit is contained in:
Jared Wasinger 2025-07-10 19:46:23 +09:00
parent 7128293ba3
commit b8c5a31b32

View file

@ -77,7 +77,7 @@ type ConstructionBlockAccessList struct {
} }
// NewBlockAccessList instantiates an empty access list. // NewBlockAccessList instantiates an empty access list.
func NewBlockAccessList() ConstructionBlockAccessList { func NewConstructionBlockAccessList() ConstructionBlockAccessList {
return ConstructionBlockAccessList{ return ConstructionBlockAccessList{
Accounts: make(map[common.Address]*ConstructionAccountAccess), Accounts: make(map[common.Address]*ConstructionAccountAccess),
} }
@ -152,7 +152,7 @@ func (b *ConstructionBlockAccessList) PrettyPrint() string {
// Copy returns a deep copy of the access list. // Copy returns a deep copy of the access list.
func (b *ConstructionBlockAccessList) Copy() *ConstructionBlockAccessList { func (b *ConstructionBlockAccessList) Copy() *ConstructionBlockAccessList {
res := NewBlockAccessList() res := NewConstructionBlockAccessList()
for addr, aa := range b.Accounts { for addr, aa := range b.Accounts {
var aaCopy ConstructionAccountAccess var aaCopy ConstructionAccountAccess