don't broadcast channel

This commit is contained in:
Zack Scholl 2018-07-01 20:46:25 -07:00
parent 0ec32e3f9a
commit a1611ccc88
1 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ func (c *Croc) Send(fname string, codePhrase string) (err error) {
Limit: 1,
TimeLimit: 600 * time.Second,
Delay: 50 * time.Millisecond,
Payload: []byte(codePhrase),
Payload: []byte(codePhrase[:3]),
})
}()
@ -138,7 +138,7 @@ func (c *Croc) Receive(codePhrase string) (err error) {
Limit: 1,
TimeLimit: 1 * time.Second,
Delay: 50 * time.Millisecond,
Payload: []byte(codePhrase),
Payload: []byte(codePhrase[:3]),
})
if errDiscover != nil {
log.Debug(errDiscover)