pub fn create_exit_tx(
prevout: OutPoint,
output: TxOut,
signature: Option<&Signature>,
fee: Amount,
) -> TransactionExpand description
Create an exit tx.
When the signature argument is provided,
it will be placed in the input witness.