fix major bug that prevents receiving
This commit is contained in:
parent
b41a079b78
commit
b1b2d2b334
6
main.go
6
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])
|
||||
|
|
Loading…
Reference in New Issue