diff --git a/api/src/foreign.rs b/api/src/foreign.rs index 6de2fdb20..f45b9ffdc 100644 --- a/api/src/foreign.rs +++ b/api/src/foreign.rs @@ -59,7 +59,6 @@ where /// # Arguments /// * `chain` - A non-owning reference of the chain. /// * `tx_pool` - A non-owning reference of the transaction pool. - /// * `peers` - A non-owning reference of the peers. /// * `sync_state` - A non-owning reference of the `sync_state`. /// /// # Returns diff --git a/api/src/lib.rs b/api/src/lib.rs index 03c40868f..e9f1af4ae 100644 --- a/api/src/lib.rs +++ b/api/src/lib.rs @@ -33,11 +33,11 @@ mod web; pub mod auth; pub mod client; mod foreign; -mod foreign_rpc; +pub mod foreign_rpc; mod handlers; pub mod json_rpc; mod owner; -mod owner_rpc; +pub mod owner_rpc; mod rest; mod router; pub mod types;