mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
add asserts in CallEvent
This commit is contained in:
parent
1318b9ca2a
commit
d2e9911161
@ -319,6 +319,10 @@ class CallEvent: public Event {
|
||||
unsigned argumentIndex = 0;
|
||||
|
||||
while (true) {
|
||||
assert(c, arguments[index] == s->value);
|
||||
assert(c,
|
||||
argumentIndex + 1 >= arguments.count || arguments[index + 1]
|
||||
== s->next->value);
|
||||
unsigned footprint
|
||||
= (argumentIndex + 1 < arguments.count and s->value->nextWord
|
||||
== s->next->value)
|
||||
|
Loading…
Reference in New Issue
Block a user