From 5c4d4961e35e97a71da0456946b3eb2452fdc872 Mon Sep 17 00:00:00 2001 From: simon987 Date: Sat, 11 Apr 2020 15:17:57 -0400 Subject: [PATCH] Ignore empty reply --- hasher/hasher.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hasher/hasher.go b/hasher/hasher.go index 14e5a99..8be99cc 100644 --- a/hasher/hasher.go +++ b/hasher/hasher.go @@ -74,6 +74,10 @@ func computeAndStore(rawTask []string) { continue } + if len(data) == 0 { + continue + } + h, err := ComputeHash(data) if err != nil { return