Indices are used to index into the stack and to be compared with the stack size. Even though we don't expect the stack to a billions of elements big, it is correct to use size_t here.
- Group Reviewers
- rABC655416f9d8cd: Use size_t for stack index in OP_MULTISIG
make check ./test/functional/test_runner.py
|1013 ↗||(On Diff #10224)|
Should k also be a size_t? I had to dig through some C++ standards to convince myself why stacktop(-isig - k) works now, when isig is size_t and k is an int...