1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-13 00:38:34 +08:00

fix issue with blocks not being trimmed properly and being too large to be sent over the network

This commit is contained in:
Jeromy
2014-09-05 02:58:31 +00:00
parent f52958850e
commit e6498b3733
5 changed files with 14 additions and 3 deletions

View File

@ -75,6 +75,7 @@ func NewIpfsNode(cfg *config.Config, online bool) (*IpfsNode, error) {
if err != nil {
return nil, err
}
swap.SetStrategy(bitswap.YesManStrategy)
}
bs, err := bserv.NewBlockService(d, swap)