From b1b2d2b3345bf7fb0663c7bba11cfbf20c09b225 Mon Sep 17 00:00:00 2001 From: erinn Date: Fri, 12 Oct 2018 14:50:52 -0700 Subject: [PATCH] fix major bug that prevents receiving --- main.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/main.go b/main.go index 98f7587..e357932 100644 --- a/main.go +++ b/main.go @@ -182,12 +182,6 @@ func main() { os.Exit(1) } - _, exists := peer.GetProfile().GetCustomAttribute(os.Args[2] + "_name") - if exists { - fmt.Printf("woah you already have someone named %v\n", os.Args[2]) - os.Exit(1) - } - verifyOnion, exists := peer.GetProfile().GetCustomAttribute(os.Args[2] + "_onion") if !exists { fmt.Fprintf(os.Stderr, "hmm you don't have a contact named %v\n", os.Args[2])