(
context: &OperatorContext,
connector_0: &Connector0,
connector_3: &Connector3,
connector_a: &ConnectorA,
connector_b: &ConnectorB,
input_0: Input,
| 82 | impl Take1Transaction { |
| 83 | #[allow(clippy::too_many_arguments)] |
| 84 | pub fn new( |
| 85 | context: &OperatorContext, |
| 86 | connector_0: &Connector0, |
| 87 | connector_3: &Connector3, |
| 88 | connector_a: &ConnectorA, |
| 89 | connector_b: &ConnectorB, |
| 90 | input_0: Input, |
| 91 | input_1: Input, |
| 92 | input_2: Input, |
| 93 | input_3: Input, |
| 94 | ) -> Self { |
| 95 | let mut this = Self::new_for_validation( |
| 96 | context.network, |
| 97 | &context.operator_public_key, |
| 98 | connector_0, |
| 99 | connector_3, |
| 100 | connector_a, |
| 101 | connector_b, |
| 102 | input_0, |
| 103 | input_1, |
| 104 | input_2, |
| 105 | input_3, |
| 106 | ); |
| 107 | |
| 108 | this.sign_input_1(context, connector_a); |
| 109 | this.sign_input_2(context); |
| 110 | |
| 111 | this |
| 112 | } |
| 113 | |
| 114 | #[allow(clippy::too_many_arguments)] |
| 115 | pub fn new_for_validation( |
nothing calls this directly
no test coverage detected