This commit is contained in:
callebtc
2025-07-15 16:30:51 +02:00
parent 1ba14a00d4
commit be264aba08
2 changed files with 14 additions and 14 deletions
@@ -107,19 +107,19 @@ class BluetoothConnectionManager(
// Start power manager // Start power manager
powerManager.start() powerManager.start()
// // Start server manager // Start server manager
// if (!serverManager.start()) { if (!serverManager.start()) {
// Log.e(TAG, "Failed to start server manager") Log.e(TAG, "Failed to start server manager")
// this@BluetoothConnectionManager.isActive = false this@BluetoothConnectionManager.isActive = false
// return@launch return@launch
// } }
// // Start client manager // Start client manager
// if (!clientManager.start()) { if (!clientManager.start()) {
// Log.e(TAG, "Failed to start client manager") Log.e(TAG, "Failed to start client manager")
// this@BluetoothConnectionManager.isActive = false this@BluetoothConnectionManager.isActive = false
// return@launch return@launch
// } }
Log.i(TAG, "Bluetooth services started successfully") Log.i(TAG, "Bluetooth services started successfully")
} }
@@ -237,7 +237,7 @@ class CashuService {
memo = sendMemo, memo = sendMemo,
amountSplitTarget = FfiSplitTarget.DEFAULT, amountSplitTarget = FfiSplitTarget.DEFAULT,
sendKind = FfiSendKind.OnlineExact, sendKind = FfiSendKind.OnlineExact,
includeFee = true, includeFee = false,
metadata = emptyMap(), metadata = emptyMap(),
maxProofs = null maxProofs = null
) )
@@ -288,7 +288,7 @@ class CashuService {
Log.d(TAG, "FFI amount: ${ffiAmount}") Log.d(TAG, "FFI amount: ${ffiAmount}")
Result.success(amount) Result.success(ffiAmount.value.toLong())
} catch (e: FfiException) { } catch (e: FfiException) {
Log.e(TAG, "CDK FFI error receiving token: ${e.message}") Log.e(TAG, "CDK FFI error receiving token: ${e.message}")