mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 10:38:42 +01:00
Slightly modify fundrawtransaction.py test (change getnewaddress() into getrawchangeaddress())
This commit is contained in:
parent
003e197498
commit
1b3b5c6f8f
@ -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…
Reference in New Issue
Block a user