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

Function elements_wtx_output_is_fee

bitcoin/tx.c:107–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107bool elements_wtx_output_is_fee(const struct wally_tx *tx, int outnum)
108{
109 assert(outnum < tx->num_outputs);
110 return chainparams->is_elements &&
111 tx->outputs[outnum].script_len == 0;
112}
113
114bool elements_tx_output_is_fee(const struct bitcoin_tx *tx, int outnum)
115{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected