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