Adding sleep time of 1 second if not waiting and code not present

This commit is contained in:
Brad Lunsford 2017-10-20 15:11:29 -07:00
parent eb3af56ccf
commit 798a0d2c52
1 changed files with 1 additions and 0 deletions

View File

@ -210,6 +210,7 @@ func (c *Connection) runClient() error {
encryptedData, salt, iv, sendersAddress := m[0], m[1], m[2], m[3]
if sendersAddress == "0.0.0.0" {
notPresent = true
time.Sleep(1 * time.Second)
return
}
encryptedBytes, err := hex.DecodeString(encryptedData)