(request: proto::note::NoteScriptRoot)
| 14 | type Output = Option<NoteScript>; |
| 15 | |
| 16 | fn decode(request: proto::note::NoteScriptRoot) -> tonic::Result<Self::Input> { |
| 17 | Ok(request) |
| 18 | } |
| 19 | |
| 20 | fn encode(output: Self::Output) -> tonic::Result<proto::rpc::MaybeNoteScript> { |
| 21 | Ok(proto::rpc::MaybeNoteScript { script: output.map(Into::into) }) |
nothing calls this directly
no outgoing calls
no test coverage detected