Skip to content

Commit

Permalink
The foreign_rpc and owner_rpc auto generated helper modules should be…
Browse files Browse the repository at this point in the history
… made public. (#3734)

* Minor update for foreign api docs. Peers seems to be no longer needed as an arg in the grin_api::Foreign::new.

* This changes foreign_rpc and owner_rpc modules to public so the helper modules for the rpc clients can be accessible in external projects.
  • Loading branch information
flomang authored Sep 7, 2022
1 parent 6d25382 commit 3119899
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion api/src/foreign.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3119899

Please sign in to comment.