aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_segwit.py
diff options
context:
space:
mode:
authorAmiti Uttarwar <amiti@uttarwar.org>2019-01-26 14:34:00 -0800
committerAmiti Uttarwar <amiti@uttarwar.org>2019-01-26 18:36:53 -0800
commit04da9f4834e1651da65ceb6379950cef9450591c (patch)
treec09a61a7b7223b0aff17834f5cf3094aa46b1e75 /test/functional/feature_segwit.py
parenta9b71a09a0bbbdebc4c0b10d287bf2d53f628cf4 (diff)
[RPC] Update getrawtransaction interface
Diffstat (limited to 'test/functional/feature_segwit.py')
-rwxr-xr-xtest/functional/feature_segwit.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/feature_segwit.py b/test/functional/feature_segwit.py
index 4bcdf9af55..1efc50e71f 100755
--- a/test/functional/feature_segwit.py
+++ b/test/functional/feature_segwit.py
@@ -43,22 +43,26 @@ class SegWitTest(BitcoinTestFramework):
self.setup_clean_chain = True
self.num_nodes = 3
# This test tests SegWit both pre and post-activation, so use the normal BIP9 activation.
+ # TODO: remove -txindex. Currently required for getrawtransaction call.
self.extra_args = [
[
"-rpcserialversion=0",
"-vbparams=segwit:0:999999999999",
"-addresstype=legacy",
+ "-txindex"
],
[
"-blockversion=4",
"-rpcserialversion=1",
"-vbparams=segwit:0:999999999999",
"-addresstype=legacy",
+ "-txindex"
],
[
"-blockversion=536870915",
"-vbparams=segwit:0:999999999999",
"-addresstype=legacy",
+ "-txindex"
],
]