Verifies two bigints of n_element size on the stack
(n_elements: u32)
| 2 | |
| 3 | // Verifies two bigints of n_element size on the stack |
| 4 | pub fn bigint_verify_output_script(n_elements: u32) -> Script { |
| 5 | script! { |
| 6 | for i in (2..n_elements + 1).rev() { |
| 7 | {i} |
| 8 | OP_ROLL |
| 9 | OP_EQUALVERIFY |
| 10 | } |
| 11 | OP_EQUAL |
| 12 | } |
| 13 | } |
nothing calls this directly
no outgoing calls
no test coverage detected