Looking at the code I don't understand why we are passing the onion address to the transport? There is no validation whatsoever. The address is only used to determine the port that is being used to listen on.
I think we should just passing in a regular multi-address like /ip4/127.0.0.1/tcp/7777 to listen on.
Looking at the code I don't understand why we are passing the onion address to the transport? There is no validation whatsoever. The address is only used to determine the port that is being used to listen on.
I think we should just passing in a regular multi-address like
/ip4/127.0.0.1/tcp/7777
to listen on.