test: Remove from_node from create_self_transfer* MiniWallet helpers

The from_node argument is no longer used as of commit
a55606c3bd
This commit is contained in:
MacroFake
2022-06-21 11:25:54 +02:00
parent b178807265
commit fa8421bc5b
8 changed files with 20 additions and 22 deletions

View File

@ -1998,7 +1998,7 @@ class SegWitTest(BitcoinTestFramework):
def serialize(self):
return serialize_with_bogus_witness(self.tx)
tx = self.wallet.create_self_transfer(from_node=self.nodes[0])['tx']
tx = self.wallet.create_self_transfer()['tx']
assert_raises_rpc_error(-22, "TX decode failed", self.nodes[0].decoderawtransaction, hexstring=serialize_with_bogus_witness(tx).hex(), iswitness=True)
with self.nodes[0].assert_debug_log(['Unknown transaction optional data']):
self.test_node.send_and_ping(msg_bogus_tx(tx))