Skip to content

Commit

Permalink
Remove unneeded allocation
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustav Simonsson committed Apr 24, 2015
1 parent 4d18870 commit b0bf12e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crypto/key_store_plain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b0bf12e

Please sign in to comment.