fixes from review

This commit is contained in:
Ethan Buchman
2017-10-25 21:54:56 -04:00
parent bb7b152af5
commit 57a684d5ac
6 changed files with 34 additions and 9 deletions

View File

@@ -43,5 +43,8 @@ func main() {
os.Stdout.Write(json)
os.Stdout.Write([]byte("\n"))
if end, ok := msg.Msg.(cs.EndHeightMessage); ok {
os.Stdout.Write([]byte(fmt.Sprintf("ENDHEIGHT %d\n", end.Height)))
}
}
}