(context: &OperatorContext, peg_out_event: &PegOutEvent, input_0: Input)
| 41 | |
| 42 | impl PegOutTransaction { |
| 43 | pub fn new(context: &OperatorContext, peg_out_event: &PegOutEvent, input_0: Input) -> Self { |
| 44 | let mut this = Self::new_for_validation( |
| 45 | context.network, |
| 46 | &context.operator_public_key, |
| 47 | peg_out_event, |
| 48 | input_0, |
| 49 | ); |
| 50 | |
| 51 | this.sign_input_0(context); |
| 52 | |
| 53 | this |
| 54 | } |
| 55 | |
| 56 | pub fn new_for_validation( |
| 57 | network: Network, |
nothing calls this directly
no test coverage detected