mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
fix stack index calculation when pushing operands
This commit is contained in:
parent
4652b7aea0
commit
3fa3fd0796
@ -1860,7 +1860,7 @@ popState(Context* c)
|
||||
Stack*
|
||||
stack(Context* c, Value* value, unsigned size, Stack* next)
|
||||
{
|
||||
return stack(c, value, size, (next ? next->index + size : 0), next);
|
||||
return stack(c, value, size, (next ? next->index + next->size : 0), next);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user