diff --git a/chain/vm/execution.go b/chain/vm/execution.go index 1642dc2f8..58f61ca6d 100644 --- a/chain/vm/execution.go +++ b/chain/vm/execution.go @@ -210,7 +210,7 @@ func init() { panic("insufficient execution concurrency") } - if priority > available-1 { + if available <= priority { panic("insufficient default execution concurrency") }