diff --git a/app/command-line/userinput.go b/app/command-line/userinput.go index 306a6ca07003286ba79cc1c7f6568105614dcb01..053328305cdb00e6b8b32878bed001f90c62f7bf 100644 --- a/app/command-line/userinput.go +++ b/app/command-line/userinput.go @@ -164,10 +164,10 @@ func ClientUserInputLoop(clientConfig Config, isAlsoServer bool) { break case "2": fmt.Println("You chose to rate a transaction") - fmt.Println("We will ask you for an index of a transaction to rate") + fmt.Println("We will ask you for an id of a transaction to rate") fmt.Println("The given node will send a request to all its neighbours to rate the transaction") fmt.Println("The node will then print the result of the rating") - fmt.Print("\nPlease enter the index of the transaction you want to rate:") + fmt.Print("\nPlease enter the id of the transaction you want to rate:") var transID string _, err := fmt.Scanln(&transID) if err != nil { @@ -200,10 +200,10 @@ func ClientUserInputLoop(clientConfig Config, isAlsoServer bool) { break case "3": fmt.Println("You chose to fake a transaction") - fmt.Println("We will ask you for an index of a transaction to fake") + fmt.Println("We will ask you for the id of a transaction to fake") fmt.Println("and the node you want to ask to fake it") fmt.Println("The node will receive the request and change the transaction with a fake one") - fmt.Print("\nPlease enter the index of the transaction you want to fake:") + fmt.Print("\nPlease enter the id of the transaction you want to fake:") var transID string _, err := fmt.Scanln(&transID) if err != nil {