1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-10 09:52:20 +08:00

make disconnects and reconnects work a little better

This commit is contained in:
Jeromy
2014-09-11 02:20:04 +00:00
committed by Juan Batiz-Benet
parent da1890e5ef
commit c41a9717fe
4 changed files with 7 additions and 1 deletions

View File

@ -38,6 +38,7 @@ func (s *Resolver) ResolvePath(fpath string) (*merkledag.Node, error) {
// first element in the path is a b58 hash (for now)
h, err := mh.FromB58String(parts[0])
if err != nil {
u.DOut("given path element is not a base58 string.\n")
return nil, err
}