Skip to content
Snippets Groups Projects
Commit 241f2f8a authored by Xavier Perret's avatar Xavier Perret
Browse files

removed prints

parent 2ecaf178
No related branches found
No related tags found
1 merge request!2added file to separate client function from the server
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment