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-23 09:03:28 -04:00
2025-03-12 19:46:54 +01:00
2025-03-13 11:13:13 +00:00
2025-03-12 19:46:54 +01:00
2025-01-09 15:17:02 +01:00
2025-02-13 12:30:15 -05:00
2025-03-25 08:41:59 -04:00
2025-02-19 17:20:57 +01:00
2025-03-21 16:46:54 +08:00
2025-03-17 15:59:05 +08:00
2025-02-21 10:43:01 +01:00
2025-03-05 15:36:56 +00:00
2025-03-25 08:41:59 -04:00
2025-03-12 19:46:54 +01:00
2025-03-16 17:15:04 +01:00
2025-03-25 08:41:59 -04:00
2025-03-26 08:12:39 -05:00
2024-11-04 14:59:46 -05:00
2024-12-10 21:51:48 +01:00
2025-03-26 08:12:39 -05:00
2025-03-17 13:10:10 +08:00
2025-03-20 13:41:54 +08:00
2025-03-24 16:07:30 -04:00
2024-11-11 12:47:53 -03:00
2024-11-11 12:47:53 -03:00
2025-01-09 10:11:46 -05:00
2025-01-03 09:19:53 -05:00
2025-01-14 19:21:37 +01:00
2025-02-12 15:10:28 -05:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-03-13 11:13:13 +00:00
2025-03-12 14:33:45 -06:00
2025-01-15 12:15:40 +01:00
2025-01-15 12:15:40 +01:00
2025-01-15 12:15:40 +01:00
2025-01-16 21:06:21 +00:00
2025-03-13 11:13:13 +00:00
2025-02-13 12:30:15 -05:00
2024-11-14 13:41:02 -05:00
2024-11-14 13:41:02 -05:00
2025-03-06 15:39:58 -06:00
2024-12-03 18:02:37 -05:00
2025-01-14 19:21:37 +01:00
2025-03-12 19:45:49 +01:00
2025-02-20 22:18:51 +00:00
2024-12-04 14:09:05 -05:00
2024-12-02 13:52:34 +01:00
2025-03-12 19:46:54 +01:00
2024-11-26 20:47:08 -05:00
2024-12-05 14:37:47 +00:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-02-21 10:41:27 +01:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-03-04 14:23:18 -05:00
2025-02-13 12:30:15 -05:00
2025-02-13 12:30:15 -05:00
2024-11-04 17:08:21 +01:00
2025-03-12 19:47:01 +01:00
2025-03-13 11:13:13 +00:00
2025-01-16 21:06:21 +00:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2024-11-04 14:19:40 -05:00
2024-11-04 18:46:40 +01:00
2025-02-21 10:41:27 +01:00
2025-03-23 11:12:33 -04:00
2025-03-24 16:54:40 -04:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-02-21 10:41:27 +01:00
2025-03-19 08:59:08 +01:00
2025-01-22 11:29:05 +01:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-03-20 13:41:54 +08:00
2025-02-21 10:43:41 +01:00
2025-01-22 15:01:23 -05:00
2025-03-20 13:41:54 +08:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:45:37 +01:00
2025-03-12 19:46:54 +01:00
2025-02-21 10:43:01 +01:00
2025-01-15 12:16:08 +01:00
2025-03-05 11:42:07 +08:00
2024-11-14 13:41:02 -05:00
2025-01-15 15:44:55 +01:00
2024-12-31 00:04:20 -03:00
2024-12-31 00:04:20 -03:00
2025-02-07 13:55:57 -05:00
2025-02-07 13:55:57 -05:00
2025-01-29 18:05:16 -05:00
2025-02-12 15:10:28 -05:00
2025-03-12 19:45:37 +01:00
2025-03-23 11:12:33 -04:00
2025-03-11 16:00:54 +00:00