mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-05 14:06:27 -05:00
Merge #20023: test: remove unused constants in functional tests
92e28fa8b2
test: remove unused constants in functional tests (Sebastian Falbesoner) Pull request description: This mini-PR gets rid of constants in functional tests that are not used anymore. Found by [vulture ](https://pypi.org/project/vulture/)via the following script that has been lying around here locally for quite some time (I think it was once proposed by practicalswift, but I don't remember the concrete topic/PR): ``` #!/bin/sh for F in $(git ls-files -- "*.py"); do vulture "$F" | grep "unused variable"; done ``` ACKs for top commit: practicalswift: ACK92e28fa8b2
: patch looks correct. Tree-SHA512: 16516abc8014207bcefdf0545dffaecff1fbba66f45b54c02371dcfd1f18194855c6b72598c11b5407009561eafe8048d47af3471f0efb1795d52477d5a0232e
This commit is contained in:
commit
055abfbc5a
2 changed files with 0 additions and 3 deletions
|
@ -89,7 +89,6 @@ from test_framework.util import (
|
|||
|
||||
# The versionbit bit used to signal activation of SegWit
|
||||
VB_WITNESS_BIT = 1
|
||||
VB_PERIOD = 144
|
||||
VB_TOP_BITS = 0x20000000
|
||||
|
||||
MAX_SIGOP_COST = 80000
|
||||
|
|
|
@ -21,8 +21,6 @@ from test_framework.util import (
|
|||
get_rpc_proxy,
|
||||
)
|
||||
|
||||
FEATURE_LATEST = 169900
|
||||
|
||||
got_loading_error = False
|
||||
def test_load_unload(node, name):
|
||||
global got_loading_error
|
||||
|
|
Loading…
Add table
Reference in a new issue