Browse Source

make echobot use new SetupOnion

master
Dan Ballard 4 years ago
parent
commit
f04239c885
  1. 2
      application/examples/echobot/main.go

2
application/examples/echobot/main.go

@ -15,7 +15,7 @@ func main() {
log.Fatalf("error reading private key file: %v", err)
}
l, err := application.SetupOnion("127.0.0.1:9051", "", pk, 9878)
l, err := application.SetupOnion("127.0.0.1:9051", "tcp4", "", pk, 9878)
if err != nil {
log.Fatalf("error setting up onion service: %v", err)

Loading…
Cancel
Save