Skip to content

Commit 4eef869

Browse files
committed
Format code
1 parent e6d00b9 commit 4eef869

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

client/src/client_sync/v17/wallet.rs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,8 +319,15 @@ macro_rules! impl_client_v17__import_privkey {
319319
macro_rules! impl_client_v17__import_pruned_funds {
320320
() => {
321321
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+
) {
324331
Ok(serde_json::Value::Null) => Ok(()),
325332
Ok(res) => Err(Error::Returned(res.to_string())),
326333
Err(err) => Err(err.into()),

0 commit comments

Comments
 (0)