| 16 | |
| 17 | #[derive(Serialize, Deserialize, Eq, PartialEq, Clone)] |
| 18 | pub struct ChallengeTransaction { |
| 19 | #[serde(with = "consensus::serde::With::<consensus::serde::Hex>")] |
| 20 | tx: Transaction, |
| 21 | #[serde(with = "consensus::serde::With::<consensus::serde::Hex>")] |
| 22 | prev_outs: Vec<TxOut>, |
| 23 | prev_scripts: Vec<ScriptBuf>, |
| 24 | input_amount_crowdfunding: Amount, |
| 25 | } |
| 26 | |
| 27 | impl PreSignedTransaction for ChallengeTransaction { |
| 28 | fn tx(&self) -> &Transaction { |
nothing calls this directly
no outgoing calls
no test coverage detected