diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-07-21 15:05:12 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-07-21 15:05:14 +0200 |
commit | a3791da0e80ab35e862989373f033e5be4dff26b (patch) | |
tree | 5a17b4b67e5fd83ee90d333229cf9cd3d541ce17 /src/arith_uint256.cpp | |
parent | cac38cdd02e0086824d40f1260a6c0597ad7eafd (diff) | |
parent | 007910388b54abc97057e44a7a8f7241e83c203b (diff) |
Merge bitcoin/bitcoin#22428: [Refactor] Rename scriptPubKey -> exec_script
007910388b54abc97057e44a7a8f7241e83c203b [Refactor] Rename scriptPubKey -> exec_script (sanket1729)
Pull request description:
Rename scriptPubKey to witness_script in ExecuteWitnessScript() function to correctly reflect which script is being executed.
For example in segwitv0, this scriptPubKey refers to the script of the form `OP_0 <script_hash>`, but witness_script refers to the script that actually hashes to the `script_hash`.
If there is a reason why it's named this way, I would love to know
ACKs for top commit:
MarcoFalke:
review ACK 007910388b54abc97057e44a7a8f7241e83c203b 🖖
theStack:
ACK 007910388b54abc97057e44a7a8f7241e83c203b
lsilva01:
Code Review https://github.com/bitcoin/bitcoin/pull/22428/commits/007910388b54abc97057e44a7a8f7241e83c203b ACK
Tree-SHA512: 768e10e656b60b1293beb560fb7adbc2c1495e6db1f54f0c2c63109692ae0c579c856b194b33f72afd0d332159a9796c0e2bd99b79ea5c4b1803469a81301fd6
Diffstat (limited to 'src/arith_uint256.cpp')
0 files changed, 0 insertions, 0 deletions