From 241f2f8a46e32240b59926286f135e875e2cc91e Mon Sep 17 00:00:00 2001 From: Xavier Perret <xa.perret@outlook.com> Date: Sun, 30 Oct 2022 14:55:02 +0100 Subject: [PATCH] removed prints --- app/command-line/userinput.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/command-line/userinput.go b/app/command-line/userinput.go index 0533283..34c5b1c 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: -- GitLab