diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-06-01 14:55:40 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-06-01 14:55:56 +0200 |
commit | 0b9ed3f6e73003192a641c1891504478693074a5 (patch) | |
tree | bd315ae320606737ef71864f653974f4d194ee5d /src/net_permissions.h | |
parent | f63fc53c2aea2e33ce3195fe5e069447e2eddb1e (diff) | |
parent | 7e32fde912b3924fdb27ec1f658ac11fcf160b3e (diff) |
Merge bitcoin/bitcoin#22113: test: minor cleanups in feature_cltv.py
7e32fde912b3924fdb27ec1f658ac11fcf160b3e test: feature_cltv.py: don't return tx copies in modification functions (Sebastian Falbesoner)
9ab2ce0a6673acc7ee0f85158fc087fce0fc7dd8 test: drop unused node parameters in feature_cltv.py (Sebastian Falbesoner)
0c2139a3f160d1d443460e4c5928109a6ab8cd11 test: fix typo in feature_cltv.py (s/ctlv/cltv/) (Sebastian Falbesoner)
Pull request description:
This tiny PR cleans up the test `feature_cltv.py` in the following ways:
* fixes a typo (s/ctlv/cltv/); compared to CHECKLOCKTIMEVERIFY, CHECKTIMELOCKVERIFY probably also sounds good and you [even get some search results for it](https://www.google.com/search?q=%22CHECKTIMELOCKVERIFY%22), but it's still wrong ;)
* drops the unused "node" parameters from the tx modification functions
* don't return a copy from the tx modification functions; it's modified in-place, hence a copy is not needed and `cltv_validate(tx, ...)` looks more natural than `tx = cltv_validate(tx, ...)`
ACKs for top commit:
MarcoFalke:
review ACK 7e32fde912b3924fdb27ec1f658ac11fcf160b3e 📼
Tree-SHA512: d2e6230977442f6a511d0f7c99431a44ad3a423647f4f327ce2ce8efe78bf9616c0d2093f5e3c3550f690dcb3f625ddf53227505c01ced70227425f249c25364
Diffstat (limited to 'src/net_permissions.h')
0 files changed, 0 insertions, 0 deletions