aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_framework/address.py
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2017-07-20 23:10:37 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2017-08-28 15:18:14 +0200
commit2e6080bbf31d5cc2e38e8a7b436e8ce1857e589b (patch)
tree36f280b71163f7a43058be57b1cad7f39cf0d923 /test/functional/test_framework/address.py
parent9b94054b7c60183cc38f1b9f3681c1770c043d77 (diff)
downloadbitcoin-2e6080bbf31d5cc2e38e8a7b436e8ce1857e589b.tar.xz
Remove unused variables and/or function calls
Diffstat (limited to 'test/functional/test_framework/address.py')
-rw-r--r--test/functional/test_framework/address.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/functional/test_framework/address.py b/test/functional/test_framework/address.py
index 96bebe1ea1..180dac197e 100644
--- a/test/functional/test_framework/address.py
+++ b/test/functional/test_framework/address.py
@@ -44,16 +44,6 @@ def script_to_p2sh(script, main = False):
script = check_script(script)
return scripthash_to_p2sh(hash160(script), main)
-def key_to_p2sh_p2wpkh(key, main = False):
- key = check_key(key)
- p2shscript = CScript([OP_0, hash160(key)])
- return script_to_p2sh(p2shscript, main)
-
-def script_to_p2sh_p2wsh(script, main = False):
- script = check_script(script)
- p2shscript = CScript([OP_0, sha256(script)])
- return script_to_p2sh(p2shscript, main)
-
def check_key(key):
if (type(key) is str):
key = hex_str_to_bytes(key) # Assuming this is hex string