bdk-ffi icon indicating copy to clipboard operation
bdk-ffi copied to clipboard

Swift compiler warning

Open thunderbiscuit opened this issue 8 months ago • 0 comments

I'm not sure yet what to make of this, and it's probably something we'd need to bring up at the uniffi level, but this is a new warning I get when compiling the Swift library:

bdk-ffi/bdk-swift/Tests/BitcoinDevKitTests/LiveMemoryWalletTests.swift:80:7: warning: non-final class 'FullScriptInspector' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
78 | }
79 |
80 | class FullScriptInspector: FullScanScriptInspector {
   |       `- warning: non-final class 'FullScriptInspector' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode

thunderbiscuit avatar Apr 09 '25 14:04 thunderbiscuit