Merge ElementsProject/elements#1017: test: update createrawtransaction call in feature_taphash_pegins_issuances.py

1c883db83e test: update `createrawtransaction` call in feature_taphash_pegins_issuances.py (Andrew Poelstra)

Pull request description:

  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.)

  Fixes functional tests which were broken in master by simultaneous merge of #1002 and #900.

ACKs for top commit:
  stevenroose:
    utACK 1c883db83e

Tree-SHA512: f7963c34e7006a25ac5515e30966ef46777fa22d6125d219345731aef603e5f3179fc316134d59694af8e753f7cb48c825ad3434f2bceda0a10b8d5a52c32cd3
This commit is contained in:
Steven Roose 2021-07-12 18:37:34 +01:00
commit aad04d0b9e
No known key found for this signature in database
GPG key ID: 2F2A88D7F8D68E87

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