From ecc9dd9b625fa5eb09d18797c21fcb0bd2c5cf91 Mon Sep 17 00:00:00 2001 From: Hector Sanjuan Date: Wed, 20 Nov 2024 17:28:57 +0100 Subject: [PATCH] staticcheck --- bitswap/testinstance/testinstance.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bitswap/testinstance/testinstance.go b/bitswap/testinstance/testinstance.go index 9786ef471..f09831b65 100644 --- a/bitswap/testinstance/testinstance.go +++ b/bitswap/testinstance/testinstance.go @@ -9,7 +9,6 @@ import ( tn "github.com/ipfs/boxo/bitswap/testnet" blockstore "github.com/ipfs/boxo/blockstore" mockrouting "github.com/ipfs/boxo/routing/mock" - "github.com/ipfs/go-datastore" ds "github.com/ipfs/go-datastore" delayed "github.com/ipfs/go-datastore/delayed" ds_sync "github.com/ipfs/go-datastore/sync" @@ -90,7 +89,7 @@ func ConnectInstances(instances []Instance) { // Instance is a test instance of bitswap + dependencies for integration testing type Instance struct { Identity tnet.Identity - Datastore datastore.Batching + Datastore ds.Batching Exchange *bitswap.Bitswap Blockstore blockstore.Blockstore Adapter bsnet.BitSwapNetwork