mirror of
https://github.com/sot-tech/mochi.git
synced 2026-04-26 15:40:01 -07:00
Fix utests
This commit is contained in:
@@ -65,7 +65,7 @@ func generateInfohash() [20]byte {
|
||||
panic(fmt.Errorf("not enough randomness? Got %d bytes", n))
|
||||
}
|
||||
|
||||
return [20]byte(bittorrent.InfoHashFromBytes(b))
|
||||
return bittorrent.InfoHashFromBytes(b)
|
||||
}
|
||||
|
||||
func test(addr string, delay time.Duration) error {
|
||||
|
||||
Reference in New Issue
Block a user