diff --git a/Sources/ZcashLightClientKit/CombineSynchronizer.swift b/Sources/ZcashLightClientKit/CombineSynchronizer.swift index 16ae0830..6f72cdc6 100644 --- a/Sources/ZcashLightClientKit/CombineSynchronizer.swift +++ b/Sources/ZcashLightClientKit/CombineSynchronizer.swift @@ -61,7 +61,7 @@ public protocol CombineSynchronizer { accountIndex: Int, shieldingThreshold: Zatoshi, memo: Memo - ) -> SinglePublisher + ) -> SinglePublisher func proposefulfillingPaymentURI( _ uri: String, diff --git a/Sources/ZcashLightClientKit/Synchronizer/CombineSDKSynchronizer.swift b/Sources/ZcashLightClientKit/Synchronizer/CombineSDKSynchronizer.swift index 1811b12c..09679398 100644 --- a/Sources/ZcashLightClientKit/Synchronizer/CombineSDKSynchronizer.swift +++ b/Sources/ZcashLightClientKit/Synchronizer/CombineSDKSynchronizer.swift @@ -69,24 +69,13 @@ extension CombineSDKSynchronizer: CombineSynchronizer { } } - public func proposeTransfer( - accountIndex: Int, - recipient: Recipient, - amount: Zatoshi, - memo: Memo? - ) -> SinglePublisher { - AsyncToCombineGateway.executeThrowingAction() { - try await self.synchronizer.proposeTransfer(accountIndex: accountIndex, recipient: recipient, amount: amount, memo: memo) - } - } - public func proposeShielding( accountIndex: Int, shieldingThreshold: Zatoshi, memo: Memo - ) -> SinglePublisher { + ) -> SinglePublisher { AsyncToCombineGateway.executeThrowingAction() { - try await self.synchronizer.proposeShielding(accountIndex: accountIndex, shieldingThreshold: shieldingThreshold, memo: memo) + try await self.synchronizer.proposeShielding(accountIndex: accountIndex, shieldingThreshold: shieldingThreshold, memo: memo, transparentReceiver: nil) } } @@ -102,15 +91,6 @@ extension CombineSDKSynchronizer: CombineSynchronizer { } } - public func createProposedTransactions( - proposal: Proposal, - spendingKey: UnifiedSpendingKey - ) -> SinglePublisher, Error> { - AsyncToCombineGateway.executeThrowingAction() { - try await self.synchronizer.createProposedTransactions(proposal: proposal, spendingKey: spendingKey) - } - } - public func proposeTransfer( accountIndex: Int, recipient: Recipient,