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 Maciej Witowski
parent 03134f1529
commit a2aa2a0dc3

View File

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