mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-07-25 16:45:20 +00:00
nice
This commit is contained in:
@@ -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}")
|
||||||
|
|||||||
Reference in New Issue
Block a user