pub fn from_spend_tx(
            deposit_outpoint: OutPoint,
            tx: SpendTransaction,
        ) -> Result<Self, revault_tx::Error> {
            // FIXME: implement into_bitcoin_serialized upstream!
            tx.as_bitcoin_serialized().map(|transaction| Self {
                deposit_outpoint,
                transaction,
            })
        }
/// Create a SetSpendTx message out of a SpendTransaction. The SpendTransaction MUST
/// have been finalized beforehand!
Create a SetSpendTx message out of a SpendTransaction. The SpendTransaction MUST
have been finalized beforehand!
Create a SetSpendTx message out of a SpendTransaction . The SpendTransaction MUST have been finalized beforehand!
pub fn from_spend_tx(
            deposit_outpoint: OutPoint,
            tx: SpendTransaction,
        ) -> Result<Self, revault_tx::Error> {
            // FIXME: implement into_bitcoin_serialized upstream!
            tx.as_bitcoin_serialized().map(|transaction| Self {
                deposit_outpoint,
                transaction,
            })
        }
pub fn from_spend_tx ( deposit_outpoint : OutPoint , tx : SpendTransaction , ) -> Result < Self , revault_tx :: Error > { // FIXME: implement into_bitcoin_serialized upstream! tx . as_bitcoin_serialized ( ) . map ( | transaction | Self { deposit_outpoint , transaction , } ) }
Create a SetSpendTx message out of a SpendTransaction.
Create a SetSpendTx message out of a SpendTransaction .
deposit_outpoint
OutPoint
tx
SpendTransaction
deposit_outpoint
OutPoint
tx
SpendTransaction