hopr_chain_actions::payload

Function convert_acknowledged_ticket

Source
pub fn convert_acknowledged_ticket(
    off_chain: &RedeemableTicket,
) -> Result<RedeemableTicket>
Expand description

Convert off-chain representation of acknowledged ticket to representation that the smart contract understands

Not implemented using From trait because logic fits better here