(
context: &OperatorContext,
connector_0: &Connector0,
connector_4: &Connector4,
connector_5: &Connector5,
connector_c: &ConnectorC,
input_0: Input,
| 83 | impl Take2Transaction { |
| 84 | #[allow(clippy::too_many_arguments)] |
| 85 | pub fn new( |
| 86 | context: &OperatorContext, |
| 87 | connector_0: &Connector0, |
| 88 | connector_4: &Connector4, |
| 89 | connector_5: &Connector5, |
| 90 | connector_c: &ConnectorC, |
| 91 | input_0: Input, |
| 92 | input_1: Input, |
| 93 | input_2: Input, |
| 94 | input_3: Input, |
| 95 | ) -> Self { |
| 96 | let mut this = Self::new_for_validation( |
| 97 | context.network, |
| 98 | &context.operator_public_key, |
| 99 | connector_0, |
| 100 | connector_4, |
| 101 | connector_5, |
| 102 | connector_c, |
| 103 | input_0, |
| 104 | input_1, |
| 105 | input_2, |
| 106 | input_3, |
| 107 | ); |
| 108 | |
| 109 | this.sign_input_1(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