diff --git a/bin/fs b/bin/fs index 7e35285..ee616ba 100755 Binary files a/bin/fs and b/bin/fs differ diff --git a/main.go b/main.go index 76350e8..1cf979a 100644 --- a/main.go +++ b/main.go @@ -47,9 +47,9 @@ func main() { time.Sleep(5 * time.Millisecond) // Remove that file - if err := s2.Remove(key); err != nil { - log.Fatal(err) - } + // if err := s2.Remove(key); err != nil { + // log.Fatal(err) + // } // Get that file from other networks r, err := s2.Get(key) @@ -64,6 +64,11 @@ func main() { fmt.Printf("Received: %s\n", b) } + if err := s2.Remove("PrivateData2"); err != nil { + fmt.Println("Unable to remove") + log.Fatal(err) + } + select {} }