Skip to content

Commit 5be018d

Browse files
committed
Updated documentation
Signed-off-by: artem.ivanov <[email protected]>
1 parent 84c7d73 commit 5be018d

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

cli/src/commands/did.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ pub mod new_command {
6666
println_succ!("Did \"{}\" has been created with \"{}\" verkey", did, vk);
6767
Ok(did)
6868
}
69-
Err(ErrorCode::DidAlreadyExistsError) => Err(println_err!("Did already exists: {:?}", did.unwrap_or(""))),
69+
Err(ErrorCode::DidAlreadyExistsError) => Err(println_err!("Did already exists")),
7070
Err(ErrorCode::UnknownCryptoTypeError) => Err(println_err!("Unknown crypto type")),
7171
Err(ErrorCode::CommonInvalidStructure) => Err(println_err!("Invalid format of command params. Please check format of posted JSONs, Keys, DIDs and etc...")),
7272
Err(err) => Err(println_err!("Indy SDK error occurred {:?}", err)),

doc/design/004-payment-interface/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ type CreatePaymentAddressCB = extern fn(command_handle: i32,
133133
/// [{
134134
/// recipient: <str>, // payment address of recipient
135135
/// amount: <int>, // amount
136-
/// extra: <str>, // optional data
137136
/// }]
137+
/// extra: // optional information for payment operation
138138
///
139139
/// #Returns
140140
/// req_with_fees_json - modified Indy request with added fees info
@@ -228,8 +228,8 @@ type ParseGetPaymentSourcesResponseCB = extern fn(command_handle: i32,
228228
/// [{
229229
/// recipient: <str>, // payment address of recipient
230230
/// amount: <int>, // amount
231-
/// extra: <str>, // optional data
232231
/// }]
232+
/// extra: // optional information for payment operation
233233
///
234234
/// #Returns
235235
/// payment_req_json - Indy request for doing payment
@@ -274,8 +274,8 @@ type ParsePaymentResponseCB = extern fn(command_handle: i32,
274274
/// [{
275275
/// recipient: <str>, // payment address of recipient
276276
/// amount: <int>, // amount
277-
/// extra: <str>, // optional data
278277
/// }]
278+
/// extra: // optional information for payment operation
279279
///
280280
/// #Returns
281281
/// mint_req_json - Indy request for doing minting
@@ -421,8 +421,8 @@ pub extern fn indy_list_payment_addresses(command_handle: i32,
421421
/// [{
422422
/// recipient: <str>, // payment address of recipient
423423
/// amount: <int>, // amount
424-
/// extra: <str>, // optional data
425424
/// }]
425+
/// extra: // optional information for payment operation
426426
///
427427
/// #Returns
428428
/// req_with_fees_json - modified Indy request with added fees info
@@ -524,8 +524,8 @@ pub extern fn indy_parse_get_payment_sources_response(command_handle: i32,
524524
/// [{
525525
/// recipient: <str>, // payment address of recipient
526526
/// amount: <int>, // amount
527-
/// extra: <str>, // optional data
528527
/// }]
528+
/// extra: // optional information for payment operation
529529
///
530530
/// #Returns
531531
/// payment_req_json - Indy request for doing payment
@@ -574,8 +574,8 @@ pub extern fn indy_parse_payment_response(command_handle: i32,
574574
/// [{
575575
/// recipient: <str>, // payment address of recipient
576576
/// amount: <int>, // amount
577-
/// extra: <str>, // optional data
578577
/// }]
578+
/// extra: // optional information for mint operation
579579
///
580580
/// #Returns
581581
/// mint_req_json - Indy request for doing minting

doc/design/006-cli-plugins/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ indy-cli --plugins <lib-1-name>:<init-func-1-name>,...,<lib-n-name>:<init-func-n
2626
Example:
2727

2828
```bash
29-
indy-cli --plugins libsovplugin:sovplugin_init,libstorage:storage_init
29+
indy-cli --plugins libnullpay:nullpay_init,libstorage:storage_init
3030
```
3131

3232
## Command to load plugin

0 commit comments

Comments
 (0)