* Get multisig m and n values if present. * @param {Boolean} [minimal=false] - Minimaldata only. * @returns {Array} [m, n]
(minimal)
| 1963 | */ |
| 1964 | |
| 1965 | getMultisig(minimal) { |
| 1966 | if (!this.isMultisig(minimal)) |
| 1967 | return [-1, -1]; |
| 1968 | |
| 1969 | return [this.getSmall(0), this.getSmall(-2)]; |
| 1970 | } |
| 1971 | |
| 1972 | /** |
| 1973 | * Test whether the output script is pay-to-scripthash. Note that |
no test coverage detected