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:
@ -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)
|
||||
|
Reference in New Issue
Block a user