test: update createrawtransaction call in feature_taphash_pegins_issuances.py

Should describe the outputs as an array rather than as an object. (The old
behavior has long been deprecated but was eliminated entirely in #900.)
This commit is contained in:
Andrew Poelstra 2021-07-09 20:31:24 +00:00
parent 1ba24fe9b3
commit 1c883db83e

View file

@ -136,7 +136,7 @@ class TapHashPeginTest(BitcoinTestFramework):
blind_addr = self.nodes[0].getnewaddress()
nonblind_addr = self.nodes[0].validateaddress(blind_addr)['unconfidential']
raw_tx = self.nodes[0].createrawtransaction([], {nonblind_addr: 1})
raw_tx = self.nodes[0].createrawtransaction([], [{nonblind_addr: 1}])
raw_tx = FromHex(CTransaction(), raw_tx)
# Need to taproot outputs later because fundrawtransaction cannot estimate fees