MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / get_tx

Method get_tx

test/functional/data/invalid_txs.py:200–202  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

198 reject_reason = 'bad-txns-in-belowout'
199
200 def get_tx(self):
201 return create_tx_with_script(
202 self.spend_tx, 0, output_script=basic_p2sh, amount=(self.spend_avail + 1))
203
204
205class CreateNegative(BadTxTemplate):

Callers

nothing calls this directly

Calls 1

create_tx_with_scriptFunction · 0.90

Tested by

no test coverage detected