mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-06 03:15:03 +00:00
Remove unneeded allocation
This commit is contained in:
parent
4d1887093d
commit
b0bf12ec87
1 changed files with 0 additions and 1 deletions
|
|
@ -117,7 +117,6 @@ func GetKeyAddresses(keysDirPath string) (addresses [][]byte, err error) {
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
addresses = make([][]byte, 0)
|
||||
for _, fileInfo := range fileInfos {
|
||||
address, err := hex.DecodeString(fileInfo.Name())
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue