mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
fix formatting of app.go
This commit is contained in:
parent
4f53497219
commit
4833f428e5
1 changed files with 9 additions and 9 deletions
|
|
@ -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"
|
|
||||||
"fmt"
|
|
||||||
"os"
|
|
||||||
"github.com/ShyftNetwork/go-empyrean/crypto"
|
|
||||||
"bytes"
|
"bytes"
|
||||||
|
"fmt"
|
||||||
"github.com/ShyftNetwork/go-empyrean/common/hexutil"
|
"github.com/ShyftNetwork/go-empyrean/common/hexutil"
|
||||||
|
"github.com/ShyftNetwork/go-empyrean/crypto"
|
||||||
"io"
|
"io"
|
||||||
|
"net"
|
||||||
|
"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)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue