Skip to content

Commit

Permalink
use prefix in bootstrapWritePeers
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
  • Loading branch information
magik6k committed Mar 19, 2018
1 parent 958483f commit 8e39f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/commands/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ func bootstrapWritePeers(w io.Writer, prefix string, peers []string) error {

sort.Stable(sort.StringSlice(peers))
for _, peer := range peers {
_, err := w.Write([]byte(peer + "\n"))
_, err := w.Write([]byte(prefix + peer + "\n"))
if err != nil {
return err
}
Expand Down

0 comments on commit 8e39f81

Please sign in to comment.