Skip to content

Daemon Spawning throws error with the new multiaddr version  #237

Closed
@vasco-santos

Description

@vasco-santos

js-ipfs-api tests are broken using [email protected], when spawning the daemon.

Basically, the gateway address generated by js-ipfsd-ctl has an additional space at the beginning of the string. As a result, an exception is thrown, as implemented in https://github.com/multiformats/js-multiaddr/blob/master/src/index.js#L41.

Uncaught Error: multiaddr " /ip4/127.0.0.1/tcp/49586" must start with a "/"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions