(mut args: RpcStandardNodeArgs)
| 484 | |
| 485 | impl From<RpcStandardNodeArgs> for StandardNodeArgs { |
| 486 | fn from(mut args: RpcStandardNodeArgs) -> Self { |
| 487 | if args.rollup_args.sequencer.is_none() { |
| 488 | args.rollup_args.sequencer.clone_from(&args.rpc_forwarding_endpoint); |
| 489 | } |
| 490 | |
| 491 | Self { |
| 492 | rpc: args, |
| 493 | metering: MeteringArgs::default(), |
| 494 | shadow_indexer: ShadowIndexerArgs::default(), |
| 495 | } |
| 496 | } |
| 497 | } |
| 498 | |
| 499 | impl StandardNodeArgs { |
nothing calls this directly
no test coverage detected