mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
fix bal construction type constructor name
This commit is contained in:
parent
7128293ba3
commit
b8c5a31b32
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue