fix formatting of app.go

This commit is contained in:
Tim Williams 2018-07-26 17:19:28 -04:00
parent 4f53497219
commit 4833f428e5

View file

@ -3,13 +3,13 @@ package main
//@NOTE SHYFT main func for api, sets up router and spins up a server //@NOTE SHYFT main func for api, sets up router and spins up a server
//to run server 'go run shyftRingWalletConn/*.go' //to run server 'go run shyftRingWalletConn/*.go'
import ( import (
"net" "bytes"
"fmt" "fmt"
"os" "github.com/ShyftNetwork/go-empyrean/common/hexutil"
"github.com/ShyftNetwork/go-empyrean/crypto" "github.com/ShyftNetwork/go-empyrean/crypto"
"bytes" "io"
"github.com/ShyftNetwork/go-empyrean/common/hexutil" "net"
"io" "os"
) )
const ( const (
@ -131,7 +131,7 @@ func handleRequest(conn net.Conn) {
fmt.Println("HASH IS ::", hexutil.Encode(new_msg2)) fmt.Println("HASH IS ::", hexutil.Encode(new_msg2))
//send_message := append(new_msg2, []byte{byte(10)}...) //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 { if err != nil {
fmt.Println("The crypto.Sign err is ", err) fmt.Println("The crypto.Sign err is ", err)
} }