@@ -107,8 +107,8 @@ pub type BuildGetSourcesRequestCB = extern fn(command_handle: i32,
107107 submitter_did : * const c_char ,
108108 payment_address : * const c_char ,
109109 cb : Option < extern fn ( command_handle_ : i32 ,
110- err : ErrorCode ,
111- get_sources_txn_json : * const c_char ) -> ErrorCode > ) -> ErrorCode ;
110+ err : ErrorCode ,
111+ get_sources_txn_json : * const c_char ) -> ErrorCode > ) -> ErrorCode ;
112112
113113/// Parses response for Indy request for getting sources list.
114114///
@@ -468,7 +468,7 @@ pub extern fn indy_list_payment_addresses(command_handle: i32,
468468///
469469/// Note this endpoint is EXPERIMENTAL. Function signature and behaviour may change
470470/// in the future releases.
471- ///
471+ ///
472472/// #Params
473473/// wallet_handle: wallet handle
474474/// submitter_did : DID of request sender
@@ -544,7 +544,7 @@ pub extern fn indy_add_request_fees(command_handle: i32,
544544///
545545/// Note this endpoint is EXPERIMENTAL. Function signature and behaviour may change
546546/// in the future releases.
547- ///
547+ ///
548548/// #Returns
549549/// receipts_json - parsed (payment method and node version agnostic) receipts info as json:
550550/// [{
@@ -601,13 +601,13 @@ pub extern fn indy_parse_response_with_fees(command_handle: i32,
601601/// payment_method
602602#[ no_mangle]
603603pub extern fn indy_build_get_sources_request ( command_handle : i32 ,
604- wallet_handle : i32 ,
605- submitter_did : * const c_char ,
606- payment_address : * const c_char ,
607- cb : Option < extern fn ( command_handle_ : i32 ,
608- err : ErrorCode ,
609- get_sources_txn_json : * const c_char ,
610- payment_method : * const c_char ) > ) -> ErrorCode {
604+ wallet_handle : i32 ,
605+ submitter_did : * const c_char ,
606+ payment_address : * const c_char ,
607+ cb : Option < extern fn ( command_handle_ : i32 ,
608+ err : ErrorCode ,
609+ get_sources_txn_json : * const c_char ,
610+ payment_method : * const c_char ) > ) -> ErrorCode {
611611 trace ! ( "indy_build_get_sources_request: >>> wallet_handle: {:?}, submitter_did: {:?}, payment_address: {:?}" , wallet_handle, submitter_did, payment_address) ;
612612 check_useful_c_str ! ( submitter_did, ErrorCode :: CommonInvalidParam3 ) ;
613613 check_useful_c_str ! ( payment_address, ErrorCode :: CommonInvalidParam4 ) ;
@@ -660,8 +660,8 @@ pub extern fn indy_parse_get_sources_response(command_handle: i32,
660660 payment_method : * const c_char ,
661661 resp_json : * const c_char ,
662662 cb : Option < extern fn ( command_handle_ : i32 ,
663- err : ErrorCode ,
664- sources_json : * const c_char ) > ) -> ErrorCode {
663+ err : ErrorCode ,
664+ sources_json : * const c_char ) > ) -> ErrorCode {
665665 trace ! ( "indy_parse_get_sources_response: >>> payment_method: {:?}, resp_json: {:?}" , payment_method, resp_json) ;
666666 check_useful_c_str ! ( payment_method, ErrorCode :: CommonInvalidParam2 ) ;
667667 check_useful_c_str ! ( resp_json, ErrorCode :: CommonInvalidParam3 ) ;
0 commit comments