(
context: &OperatorContext,
connector_a: &ConnectorA,
input_0: Input,
input_amount_crowdfunding: Amount,
)
| 44 | |
| 45 | impl ChallengeTransaction { |
| 46 | pub fn new( |
| 47 | context: &OperatorContext, |
| 48 | connector_a: &ConnectorA, |
| 49 | input_0: Input, |
| 50 | input_amount_crowdfunding: Amount, |
| 51 | ) -> Self { |
| 52 | let mut this = Self::new_for_validation( |
| 53 | context.network, |
| 54 | &context.operator_public_key, |
| 55 | connector_a, |
| 56 | input_0, |
| 57 | input_amount_crowdfunding, |
| 58 | ); |
| 59 | |
| 60 | this.sign_input_0(context, connector_a); |
| 61 | |
| 62 | this |
| 63 | } |
| 64 | |
| 65 | pub fn new_for_validation( |
| 66 | network: Network, |
nothing calls this directly
no test coverage detected