Browse Source

Slightly modify fundrawtransaction.py test (change getnewaddress() into getrawchangeaddress())

0.15
Jonas Schnelli 8 years ago
parent
commit
1b3b5c6f8f
No known key found for this signature in database
GPG Key ID: 1EB776BB03C7922D
  1. 2
      test/functional/fundrawtransaction.py

2
test/functional/fundrawtransaction.py

@ -646,7 +646,7 @@ class RawTransactionsTest(BitcoinTestFramework): @@ -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)

Loading…
Cancel
Save