Open carsonfarmer opened 3 years ago
Note that for those searching, if you don't do the above fix, you might end up with some build errors that look like this:
cannot use s (type *Stream) as type network.Stream in argument to f.ClosedStream:
*Stream does not implement network.Stream (missing CloseRead method)
Looks like we should update deps in textileio/textile. Anyone that does
go mod init
andtidy
will get av0.7.x
version ofgithub.com/libp2p/go-libp2p-core
, but right nowtextileio/textile
needsv0.6.1
. For now, a simple workaround is to change it ingo.mod
togithub.com/libp2p/go-libp2p-core v0.6.1
.Thanks to @jsign for finding this annoying v0.x pain...