Add BigInt referenced by the integer (depth) on top of the stack to the BigInt at the top the stack below the depth # Note This function consumes the BigInt on top of the stack below the depth while not consuming the referenced BigInt This does not support addition to self, depth=0
()
| 299 | /// consuming the referenced BigInt |
| 300 | /// This does not support addition to self, depth=0 |
| 301 | pub fn add_ref_stack() -> Script { |
| 302 | script! { |
| 303 | { NMUL(Self::N_LIMBS) } |
| 304 | { Self::_add_ref_inner() } |
| 305 | } |
| 306 | } |
| 307 | |
| 308 | // Underlying add_ref implementation used by both `add_ref` and `add_ref_stack` |
| 309 | // functions. The commented section is supposed to handle depth=0, which fails. |
nothing calls this directly
no outgoing calls
no test coverage detected