mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-26 07:26:15 +01:00
366ae00b77descriptor: Assume `ParseScript` is not being called with a P2WPKH context (brunoerg)e366408590descriptor: remove unreachable verification for `pkh` (brunoerg) Pull request description: This PR removes an unreachable verification in the `ParseScript` function. It returns an error if `pkh` is not being used at top level, sh, wsh or tr. However, any usage of `pkh` without these contexts will not reach this verification but other ones like "invalid keys" (e.g. `wpkh(pkh(L4gM1FBdyHNpkzsFh9ipnofLhpZRp2mwobpeULy1a6dBTvw8Ywtd))`). ACKs for top commit: davidgumberg: crACK366ae00b77achow101: ACK366ae00b77tdb3: cr ACK366ae00b77sipa: crACK366ae00b77Tree-SHA512: b954221a77eed623aeed5eb54f14e82c49540a151d3388831924caa7a784e48a2a975e418af1e13d491e4f8cded3b1797aa39e0e4e39e302a991105df09cdec0