diff --git a/app/command-line/userinput.go b/app/command-line/userinput.go index 64943dbca495b22ab56c096c233c6bae67b11b18..30611a3e6f2f34a99fedd40baba4349cbb274349 100644 --- a/app/command-line/userinput.go +++ b/app/command-line/userinput.go @@ -2,23 +2,19 @@ package command_line import ( "fmt" - "math/rand" ObjectStorageAPI "node/object-storage" Sender "node/sender" . "node/types" "node/utilities" "os" "strconv" - "time" ) // userCreatedTransaction is a function to interactively create a transaction using the terminal func userCreatedTransaction(config Config) Transaction { fmt.Println("--------------------STARTING USER CREATED TRANSACTION--------------------") var trans Transaction - now := time.Now().String() - randomString := strconv.Itoa(rand.Int()) - trans.Id = now + randomString + trans.Id = utilities.RandomString() fmt.Println() var receiver string