Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.0.x] Fix doctest #578

Merged
merged 3 commits into from
Jan 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/src/foreign_rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ pub trait ForeignRpc {
fn build_coinbase(&self, block_fees: &BlockFees) -> Result<VersionedCoinbase, ErrorKind>;

/**
Networked version of [Foreign::receive_tx](struct.Foreign.html#method.receive_tx).
;Networked version of [Foreign::receive_tx](struct.Foreign.html#method.receive_tx).

# Json rpc example

Expand Down
6 changes: 3 additions & 3 deletions api/src/owner_rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ pub trait OwnerRpc {
) -> Result<(bool, WalletInfo), ErrorKind>;

/**
Networked version of [Owner::init_send_tx](struct.Owner.html#method.init_send_tx).
;Networked version of [Owner::init_send_tx](struct.Owner.html#method.init_send_tx).

```
# grin_wallet_api::doctest_helper_json_rpc_owner_assert_response!(
Expand Down Expand Up @@ -418,7 +418,7 @@ pub trait OwnerRpc {
fn init_send_tx(&self, token: Token, args: InitTxArgs) -> Result<VersionedSlate, ErrorKind>;

/**
Networked version of [Owner::issue_invoice_tx](struct.Owner.html#method.issue_invoice_tx).
;Networked version of [Owner::issue_invoice_tx](struct.Owner.html#method.issue_invoice_tx).

```
# grin_wallet_api::doctest_helper_json_rpc_owner_assert_response!(
Expand Down Expand Up @@ -469,7 +469,7 @@ pub trait OwnerRpc {
) -> Result<VersionedSlate, ErrorKind>;

/**
Networked version of [Owner::process_invoice_tx](struct.Owner.html#method.process_invoice_tx).
;Networked version of [Owner::process_invoice_tx](struct.Owner.html#method.process_invoice_tx).

```
# grin_wallet_api::doctest_helper_json_rpc_owner_assert_response!(
Expand Down