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

Function elements_psbt_output_is_fee

bitcoin/psbt.c:1102–1107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1100}
1101
1102bool elements_psbt_output_is_fee(const struct wally_psbt *psbt, size_t outnum)
1103{
1104 assert(outnum < psbt->num_outputs);
1105 return chainparams->is_elements &&
1106 psbt->outputs[outnum].script_len == 0;
1107}
1108
1109bool psbt_set_version(struct wally_psbt *psbt, u32 version)
1110{

Callers 2

psbt_compute_feeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected