From 6445f3c9abf6e2e4d385445536b19b07822b7868 Mon Sep 17 00:00:00 2001 From: Tim Williams Date: Fri, 13 Jul 2018 16:01:05 -0400 Subject: [PATCH] log out hash of message as hex --- shyftRingWalletConn/app.go | 1 + 1 file changed, 1 insertion(+) diff --git a/shyftRingWalletConn/app.go b/shyftRingWalletConn/app.go index a4332bb0f7..8dd8e848b5 100644 --- a/shyftRingWalletConn/app.go +++ b/shyftRingWalletConn/app.go @@ -118,6 +118,7 @@ func handleRequest(conn net.Conn) { f_msg := "Message Received" first_message := []byte(f_msg) new_msg2 := crypto.Keccak256(first_message) + fmt.Println("the hash is ", hexutil.Encode(new_msg2)) //send_message := append(new_msg2, []byte{byte(10)}...) new_sig , err := crypto.Sign(new_msg2, key)