From bca67334fa897a9cbc56b7bfeaae1e4da9a55e79 Mon Sep 17 00:00:00 2001
From: RJ Catalano <rj@monax.io>
Date: Wed, 8 Feb 2017 14:19:30 -0600
Subject: [PATCH] use better encoding format to get correct identifiers

Signed-off-by: RJ Catalano <rj@monax.io>
---
 manager/eris-mint/evm/snative.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/manager/eris-mint/evm/snative.go b/manager/eris-mint/evm/snative.go
index 2febc97c..a40bfbb0 100644
--- a/manager/eris-mint/evm/snative.go
+++ b/manager/eris-mint/evm/snative.go
@@ -66,7 +66,7 @@ var PermsMap = map[string]SNativeFuncDescription{
 
 func getFuncIdentifiersFromSignature(signature string) string {
 	identifier := sha3.Sha3([]byte(signature))
-	return string(identifier[:4])
+	return hex.EncodeToString(identifier[:4])
 }
 
 func permissionsContract(appState AppState, caller *Account, args []byte, gas *int64) (output []byte, err error) {
-- 
GitLab