From 49ceb8cc998c4f018c07335bc5227e134af13947 Mon Sep 17 00:00:00 2001 From: Fabian Reinartz Date: Thu, 27 Apr 2017 13:10:43 +0200 Subject: [PATCH] notify: hex encode deduplication hash --- notify/impl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notify/impl.go b/notify/impl.go index b81efed0..82515a68 100644 --- a/notify/impl.go +++ b/notify/impl.go @@ -987,5 +987,5 @@ func (a *loginAuth) Next(fromServer []byte, more bool) ([]byte, error) { func hashKey(s string) string { h := sha256.New() h.Write([]byte(s)) - return string(h.Sum(nil)) + return fmt.Sprintf("%x", h.Sum(nil)) }