mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 09:23:48 +00:00
core/types: fix typo
This commit is contained in:
parent
37d91cde0d
commit
8c984338b0
1 changed files with 1 additions and 1 deletions
|
|
@ -489,7 +489,7 @@ func (tx *Transaction) Authorities() []common.Address {
|
||||||
if !ok {
|
if !ok {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
auths := make([]common.Address, len(setcodetx.AuthList))
|
auths := make([]common.Address, 0, len(setcodetx.AuthList))
|
||||||
for _, auth := range setcodetx.AuthList {
|
for _, auth := range setcodetx.AuthList {
|
||||||
if addr, err := auth.Authority(); err == nil {
|
if addr, err := auth.Authority(); err == nil {
|
||||||
auths = append(auths, addr)
|
auths = append(auths, addr)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue