diff --git a/app/command-line/userinput.go b/app/command-line/userinput.go index 053328305cdb00e6b8b32878bed001f90c62f7bf..34c5b1c88d59d04e0337290af6faefb97721d686 100644 --- a/app/command-line/userinput.go +++ b/app/command-line/userinput.go @@ -66,7 +66,7 @@ func ServerUserInputLoop(config Config, isAlsoServer bool, objectStorage Blob) { fmt.Println("Please enter the operation you want to do") fmt.Println("1. Fabricate a fake transaction") fmt.Println("2. Print all transactions") - fmt.Println("4. Exit") + fmt.Println("3. Exit") fmt.Print("Your choice: ") _, err := fmt.Scanln(&operation) if err != nil { @@ -107,9 +107,6 @@ func ServerUserInputLoop(config Config, isAlsoServer bool, objectStorage Blob) { utilities.PrintingDatabaseToConsole(database) break case "3": - fmt.Println("You chose to ask for all transactions of a given node") - break - case "4": fmt.Println("You chose to exit") return default: