aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2017-02-01 09:12:13 +0100
committerJonas Schnelli <dev@jonasschnelli.ch>2017-03-24 10:28:41 +0100
commit1b3b5c6f8fa6aff93935319888bf0cfd242359dd (patch)
treea1ee725f13afa10baaad7ddd99873786235e67e7 /test/functional
parent003e1974986d62fa7c8112009d6fa1ee5871550e (diff)
downloadbitcoin-1b3b5c6f8fa6aff93935319888bf0cfd242359dd.tar.xz
Slightly modify fundrawtransaction.py test (change getnewaddress() into getrawchangeaddress())
Diffstat (limited to 'test/functional')
-rwxr-xr-xtest/functional/fundrawtransaction.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/fundrawtransaction.py b/test/functional/fundrawtransaction.py
index 6bb7d7f334..69f2c29f51 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)