From 1b3b5c6f8fa6aff93935319888bf0cfd242359dd Mon Sep 17 00:00:00 2001 From: Jonas Schnelli Date: Wed, 1 Feb 2017 09:12:13 +0100 Subject: [PATCH] Slightly modify fundrawtransaction.py test (change getnewaddress() into getrawchangeaddress()) --- test/functional/fundrawtransaction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/fundrawtransaction.py b/test/functional/fundrawtransaction.py index 6bb7d7f33..69f2c29f5 100755 --- a/test/functional/fundrawtransaction.py +++ b/test/functional/fundrawtransaction.py @@ -646,7 +646,7 @@ class RawTransactionsTest(BitcoinTestFramework): if out['value'] > 1.0: changeaddress += out['scriptPubKey']['addresses'][0] assert(changeaddress != "") - nextaddr = self.nodes[3].getnewaddress() + nextaddr = self.nodes[3].getrawchangeaddress() # frt should not have removed the key from the keypool assert(changeaddress == nextaddr)