* Get P2SH redeem script if present. * @returns {Buffer|null}
()
| 2389 | */ |
| 2390 | |
| 2391 | getScripthashInput() { |
| 2392 | if (!this.isScripthashInput()) |
| 2393 | return null; |
| 2394 | |
| 2395 | return this.getData(-1); |
| 2396 | } |
| 2397 | |
| 2398 | /** |
| 2399 | * Get coinbase height. |
no test coverage detected