From 13e7217ffd6a51209dd1073d699b9c8d1bfc4978 Mon Sep 17 00:00:00 2001 From: Steve Myers Date: Thu, 24 Jun 2021 13:49:25 -0700 Subject: [PATCH] Simplify Kotlin Wallet api --- src/wallet.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/wallet.rs b/src/wallet.rs index cfd72bc..988bede 100644 --- a/src/wallet.rs +++ b/src/wallet.rs @@ -129,13 +129,12 @@ fn get_wallet_ok<'lt>(wallet_result: &'lt WalletResult) -> Option(wallet_ref: &'lt WalletRef<'lt>) -> Box { - let void_result = wallet_ref - .raw.sync(log_progress(), Some(100)); + let void_result = wallet_ref.raw.sync(log_progress(), Some(100)); Box::new(VoidResult { raw: void_result }) }