aboutsummaryrefslogtreecommitdiff
path: root/test/functional/nulldummy.py
diff options
context:
space:
mode:
authorJoão Barbosa <joao.paulo.barbosa@gmail.com>2018-01-17 23:30:56 +0000
committerJoão Barbosa <joao.paulo.barbosa@gmail.com>2018-01-24 16:23:55 +0000
commitf523c6bec005b2c999651787d029dee0fe719eb1 (patch)
treee04c89530caa88387c78521ec8cf2a4b956f4fe2 /test/functional/nulldummy.py
parent886a92f25f2e47a7ec9097d7c5a8d8a6173ef998 (diff)
[qa] Use address type in addmultisigaddress to avoid addwitnessaddress
Diffstat (limited to 'test/functional/nulldummy.py')
-rwxr-xr-xtest/functional/nulldummy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/nulldummy.py b/test/functional/nulldummy.py
index fac620bc8d..e4f413cc2a 100755
--- a/test/functional/nulldummy.py
+++ b/test/functional/nulldummy.py
@@ -48,7 +48,7 @@ class NULLDUMMYTest(BitcoinTestFramework):
self.address = self.nodes[0].getnewaddress()
self.ms_address = self.nodes[0].addmultisigaddress(1,[self.address])['address']
self.wit_address = self.nodes[0].addwitnessaddress(self.address)
- self.wit_ms_address = self.nodes[0].addwitnessaddress(self.ms_address)
+ self.wit_ms_address = self.nodes[0].addmultisigaddress(1, [self.address], '', 'p2sh-segwit')['address']
network_thread_start()
self.coinbase_blocks = self.nodes[0].generate(2) # Block 2