Skip to content

Commit

Permalink
Remove Result from FFI interface (#2157)
Browse files Browse the repository at this point in the history
* Remove result from FFI interface

* Restore previous import

* Additional cleanups

* Restore missing comment

---------

Co-authored-by: Prasanna Loganathar <[email protected]>
  • Loading branch information
Bushstar and prasannavl authored Jul 6, 2023
1 parent df360e7 commit 00995ad
Show file tree
Hide file tree
Showing 5 changed files with 112 additions and 147 deletions.
2 changes: 1 addition & 1 deletion lib/ain-grpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ pub fn init_evm_runtime() {
let _ = &*RUNTIME;
}

pub fn start_servers(json_addr: &str, grpc_addr: &str) -> Result<(), Box<dyn Error>> {
pub fn start_evm_servers(json_addr: &str, grpc_addr: &str) -> Result<(), Box<dyn Error>> {
add_json_rpc_server(&RUNTIME, json_addr)?;
add_grpc_server(&RUNTIME, grpc_addr)?;
Ok(())
Expand Down
Loading

0 comments on commit 00995ad

Please sign in to comment.