Update chain/vm/execution.go

Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com>
This commit is contained in:
vyzo 2023-03-28 17:56:35 +03:00 committed by GitHub
parent dcd9869842
commit b2b78e9dfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -210,7 +210,7 @@ func init() {
panic("insufficient execution concurrency")
}
if priority > available-1 {
if available <= priority {
panic("insufficient default execution concurrency")
}