mirror of
https://github.com/corda/corda.git
synced 2025-01-08 14:03:06 +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;
|
unsigned argumentIndex = 0;
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
|
assert(c, arguments[index] == s->value);
|
||||||
|
assert(c,
|
||||||
|
argumentIndex + 1 >= arguments.count || arguments[index + 1]
|
||||||
|
== s->next->value);
|
||||||
unsigned footprint
|
unsigned footprint
|
||||||
= (argumentIndex + 1 < arguments.count and s->value->nextWord
|
= (argumentIndex + 1 < arguments.count and s->value->nextWord
|
||||||
== s->next->value)
|
== s->next->value)
|
||||||
|
Loading…
Reference in New Issue
Block a user