Introduce new GetInfo API for fetching information about ACN #26

Merged
erinn merged 4 commits from getinfo into master 2022-01-17 20:07:31 +00:00
1 changed files with 1 additions and 2 deletions
Showing only changes of commit 4353143ae4 - Show all commits

View File

@ -52,10 +52,9 @@ func TestTorProvider(t *testing.T) {
t.Fatalf("could not find info for OP server %v", err)
}
cinfo, exists := info["circuit"]
if !exists {
if !exists || len(cinfo) == 0 {
t.Fatalf("could not find circuit info for OP server %v", err)
}
t.Logf("Found Cicurit Info %v", cinfo)
_, err = acn.GetInfo("not_a_real_onion")
if err == nil {