File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
client/src/client_sync/v17 Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -319,8 +319,15 @@ macro_rules! impl_client_v17__import_privkey {
319
319
macro_rules! impl_client_v17__import_pruned_funds {
320
320
( ) => {
321
321
impl Client {
322
- pub fn import_pruned_funds( & self , raw_transaction: & str , tx_out_proof: & str ) -> Result <( ) > {
323
- match self . call( "importprunedfunds" , & [ into_json( raw_transaction) ?, into_json( tx_out_proof) ?] ) {
322
+ pub fn import_pruned_funds(
323
+ & self ,
324
+ raw_transaction: & str ,
325
+ tx_out_proof: & str ,
326
+ ) -> Result <( ) > {
327
+ match self . call(
328
+ "importprunedfunds" ,
329
+ & [ into_json( raw_transaction) ?, into_json( tx_out_proof) ?] ,
330
+ ) {
324
331
Ok ( serde_json:: Value :: Null ) => Ok ( ( ) ) ,
325
332
Ok ( res) => Err ( Error :: Returned ( res. to_string( ) ) ) ,
326
333
Err ( err) => Err ( err. into( ) ) ,
You can’t perform that action at this time.
0 commit comments