Skip to content

Commit 2269a15

Browse files
author
yxq
committed
fix: unit test
1 parent 5362c0a commit 2269a15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/p2p/dht/protocol/p2pstore/p2pstore_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ func makeProtocol(name string, q queue.Queue, h host.Host) *Protocol {
292292
chunkToDelete: make(chan *types.ChunkInfoMsg, 100),
293293
chunkToDownload: make(chan *types.ChunkInfoMsg, 1024),
294294
wakeup: make(map[string]chan struct{}),
295-
chunkStatusCache: make(map[string]ChunkStatus),
295+
chunkInfoCache: make(map[string]*types.ChunkInfoMsg),
296296
peerAddrRequestTrace: make(map[peer.ID]map[peer.ID]time.Time),
297297
chunkRequestTrace: make(map[string]map[peer.ID]time.Time),
298298
chunkProviderCache: make(map[string]map[peer.ID]time.Time),

0 commit comments

Comments
 (0)