Simplify Kotlin Wallet api
This commit is contained in:
parent
af828efa93
commit
13e7217ffd
@ -134,8 +134,7 @@ fn get_wallet_ok<'lt>(wallet_result: &'lt WalletResult) -> Option<Box<WalletRef<
|
||||
|
||||
#[ffi_export]
|
||||
fn sync_wallet<'lt>(wallet_ref: &'lt WalletRef<'lt>) -> Box<VoidResult> {
|
||||
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 })
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user