From 3270ab0efb3e6d3cb8254984912ae37537e55a55 Mon Sep 17 00:00:00 2001
From: Jeromy <jeromyj@gmail.com>
Date: Thu, 30 Oct 2014 16:34:52 +0000
Subject: [PATCH] fix bug where terminal would randomly become garbled binary
 crap

---
 routing/dht/dht.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/routing/dht/dht.go b/routing/dht/dht.go
index f1c422721..e76ab571c 100644
--- a/routing/dht/dht.go
+++ b/routing/dht/dht.go
@@ -240,7 +240,7 @@ func (dht *IpfsDHT) putProvider(ctx context.Context, p peer.Peer, key string) er
 		return err
 	}
 
-	log.Debugf("%s putProvider: %s for %s", dht.self, p, key)
+	log.Debugf("%s putProvider: %s for %s", dht.self, p, u.Key(key))
 	if rpmes.GetKey() != pmes.GetKey() {
 		return errors.New("provider not added correctly")
 	}
-- 
GitLab