MCPcopy Create free account
hub / github.com/ElementsProject/lightning / bitcoin_tx_remove_output

Function bitcoin_tx_remove_output

bitcoin/tx.c:98–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98void bitcoin_tx_remove_output(struct bitcoin_tx *tx, size_t outnum)
99{
100 int ret;
101 ret = wally_tx_remove_output(tx->wtx, outnum);
102 assert(ret == WALLY_OK);
103 ret = wally_psbt_remove_output(tx->psbt, outnum);
104 assert(ret == WALLY_OK);
105}
106
107bool elements_wtx_output_is_fee(const struct wally_tx *tx, int outnum)
108{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected