* Get P2PK signature if present. * @returns {Buffer|null}
()
| 2251 | */ |
| 2252 | |
| 2253 | getPubkeyInput() { |
| 2254 | if (!this.isPubkeyInput()) |
| 2255 | return null; |
| 2256 | |
| 2257 | return this.getData(0); |
| 2258 | } |
| 2259 | |
| 2260 | /** |
| 2261 | * "Guess" whether the input script is pay-to-pubkeyhash. |
nothing calls this directly
no test coverage detected