mirror of
https://github.com/sot-tech/mochi.git
synced 2026-05-20 14:54:48 -07:00
Gegin work on shared store for handlers
This commit is contained in:
committed by
Lawrence, Rendall
parent
af1cbc543c
commit
566d99fcd7
@@ -80,7 +80,7 @@ func TestHandleAnnounce(t *testing.T) {
|
||||
hashbytes, err := hex.DecodeString(tt.ih)
|
||||
require.Nil(t, err)
|
||||
|
||||
hashinfo := bittorrent.InfoHashFromBytes(hashbytes)
|
||||
hashinfo := bittorrent.NewInfoHash(hashbytes)
|
||||
|
||||
req.InfoHash = hashinfo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user