|
|
@ -646,7 +646,7 @@ class RawTransactionsTest(BitcoinTestFramework):
|
|
|
|
if out['value'] > 1.0:
|
|
|
|
if out['value'] > 1.0:
|
|
|
|
changeaddress += out['scriptPubKey']['addresses'][0]
|
|
|
|
changeaddress += out['scriptPubKey']['addresses'][0]
|
|
|
|
assert(changeaddress != "")
|
|
|
|
assert(changeaddress != "")
|
|
|
|
nextaddr = self.nodes[3].getnewaddress()
|
|
|
|
nextaddr = self.nodes[3].getrawchangeaddress()
|
|
|
|
# frt should not have removed the key from the keypool
|
|
|
|
# frt should not have removed the key from the keypool
|
|
|
|
assert(changeaddress == nextaddr)
|
|
|
|
assert(changeaddress == nextaddr)
|
|
|
|
|
|
|
|
|
|
|
|