Open diegomrsantos opened 1 year ago
Where in the provided snippet do you read that an empty address is not allowed?
Doesn't "+" mean 1 or more?
Doesn't "+" mean 1 or more?
Ah yes, I didn't realize that was actually a regular expression.
We could deprecate the Multiaddr::empty
function and replace it with a Multiaddr::new(Protocol)
one.
Seems that the spec doesn't allow an empty MA.