hotfix: initialized scrape map

This commit is contained in:
Leo Balduf
2016-04-02 20:22:15 -04:00
parent cd979c61c9
commit 9c1168746a
5 changed files with 9 additions and 6 deletions

View File

@@ -51,7 +51,7 @@ type ScrapeRequest struct {
// ScrapeResponse represents the parameters used to create a scrape response.
type ScrapeResponse struct {
Files map[string]Scrape
Files map[InfoHash]Scrape
}
// Scrape represents the state of a swarm that is returned in a scrape response.