Skip to content

Commit 7d9ab40

Browse files
committed
nit
1 parent c641e4a commit 7d9ab40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/traits.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ pub trait Context {
109109
)
110110
}
111111

112+
fn on_grpc_call_response(&mut self, _token_id: u32, _status_code: u32, _response_size: usize) {}
113+
112114
fn get_grpc_call_response_body(&self, start: usize, max_size: usize) -> Option<Bytes> {
113115
hostcalls::get_buffer(BufferType::GrpcReceiveBuffer, start, max_size).unwrap()
114116
}
@@ -117,8 +119,6 @@ pub trait Context {
117119
hostcalls::cancel_grpc_call(token_id)
118120
}
119121

120-
fn on_grpc_call_response(&mut self, _token_id: u32, _status_code: u32, _response_size: usize) {}
121-
122122
fn on_done(&mut self) -> bool {
123123
true
124124
}

0 commit comments

Comments
 (0)