From 4833f428e52f1afe5dd893334e2a7c63d09f205e Mon Sep 17 00:00:00 2001 From: Tim Williams Date: Thu, 26 Jul 2018 17:19:28 -0400 Subject: [PATCH] fix formatting of app.go --- shyftRingWalletConn/app.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/shyftRingWalletConn/app.go b/shyftRingWalletConn/app.go index 7fcff91f51..b91d26bfab 100644 --- a/shyftRingWalletConn/app.go +++ b/shyftRingWalletConn/app.go @@ -3,13 +3,13 @@ package main //@NOTE SHYFT main func for api, sets up router and spins up a server //to run server 'go run shyftRingWalletConn/*.go' import ( - "net" - "fmt" - "os" - "github.com/ShyftNetwork/go-empyrean/crypto" - "bytes" - "github.com/ShyftNetwork/go-empyrean/common/hexutil" - "io" + "bytes" + "fmt" + "github.com/ShyftNetwork/go-empyrean/common/hexutil" + "github.com/ShyftNetwork/go-empyrean/crypto" + "io" + "net" + "os" ) const ( @@ -131,7 +131,7 @@ func handleRequest(conn net.Conn) { fmt.Println("HASH IS ::", hexutil.Encode(new_msg2)) //send_message := append(new_msg2, []byte{byte(10)}...) - new_sig , err := crypto.Sign(new_msg2, key) + new_sig, err := crypto.Sign(new_msg2, key) if err != nil { fmt.Println("The crypto.Sign err is ", err) } @@ -145,4 +145,4 @@ func handleRequest(conn net.Conn) { conn.Write(new_sig) conn.Write([]byte("\n")) }() -} \ No newline at end of file +}