From 4810acbd9d6729a57c521758161a4dacf6d7bcbc Mon Sep 17 00:00:00 2001 From: Jae Kwon Date: Tue, 22 Mar 2016 15:58:42 -0700 Subject: [PATCH] ... --- state/execution.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/state/execution.go b/state/execution.go index 4723942b8..3200b93cd 100644 --- a/state/execution.go +++ b/state/execution.go @@ -133,8 +133,7 @@ func ExecTx(state *State, tx types.Tx, isCheckTx bool, evc events.Fireable) tmsp return types.ResultOK default: - PanicSanity("Unknown Tx type") - return types.ErrInternalError + return types.ErrEncodingError.SetLog("Unknown tx type") } }