Files
bitcoin/src
Calin Culianu a7b581423e Fix 11-year-old mis-categorized error code in OP_IF evaluation
This was introduced by commit ab9edbd6b6.

It appears the original author may have gotten tired and pasted the wrong
error code into this 1 place. Every other situation where the value stack
lacks the required number of arguments for the op-code,
SCRIPT_ERR_INVALID_STACK_OPERATION is reported. Not so here.

This commit fixes the situation.

Also in this commit:

- Fix script_tests to adjust to the corrected error message
- Fix p2p_invalid_tx functional test to produce the desired error message
2025-03-26 08:12:39 -05:00
..
2025-03-13 11:13:13 +00:00
2025-03-13 11:13:13 +00:00
2025-03-13 11:13:13 +00:00
2024-11-26 20:47:08 -05:00
2024-12-05 14:37:47 +00:00
2025-03-13 11:13:13 +00:00
2024-11-04 14:19:40 -05:00
2025-01-22 11:29:05 +01:00
2024-12-31 00:04:20 -03:00
2024-12-31 00:04:20 -03:00