~edwargix/tallyard

7d3a9ff38b9b3e9f0415713a7d4a969be2625a8c — David Florness 5 years ago 6435335
Log message for master
1 files changed, 1 insertions(+), 0 deletions(-)

M main.go
M main.go => main.go +1 -0
@@ 135,6 135,7 @@ func bootstrap() {
	wg.Wait()

	if masterID == "" { // we are the master
		Logger.Info("waiting for incoming streams...")
		h.SetStreamHandler(ProtocolID, masterStreamHandler)
	} else { // we are a slave
		Logger.Info("attempting to open stream with master peer...")