aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2015-07-06 17:54:11 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-07-06 18:43:05 +0800
commite6bb9c1cadd311475f54ed60630fc20eb2f54871 (patch)
tree60d3b8e8f0cfcf002a6838404f7de21ea1ef5c29 /core/vm
parentaa4502060b50733a3a82a0ab575eac0731cdb7ca (diff)
downloaddexon-e6bb9c1cadd311475f54ed60630fc20eb2f54871.tar.gz
dexon-e6bb9c1cadd311475f54ed60630fc20eb2f54871.tar.zst
dexon-e6bb9c1cadd311475f54ed60630fc20eb2f54871.zip
core, miner: removed vm errors from consensus err checking
Removed VM errors from the consensus errors. They now used for output only.
Diffstat (limited to 'core/vm')
-rw-r--r--core/vm/errors.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/vm/errors.go b/core/vm/errors.go
index 75b9c0f10..209b64c7d 100644
--- a/core/vm/errors.go
+++ b/core/vm/errors.go
@@ -22,7 +22,7 @@ func (self StackError) Error() string {
return fmt.Sprintf("stack error! require %v, have %v", self.req, self.has)
}
-func IsStack(err error) bool {
+func IsStackErr(err error) bool {
_, ok := err.(StackError)
return ok
}