Fix Rebase issues
This commit is contained in:
parent
a9e8a40267
commit
2de88bff76
|
@ -61,7 +61,7 @@ public protocol CombineSynchronizer {
|
|||
accountIndex: Int,
|
||||
shieldingThreshold: Zatoshi,
|
||||
memo: Memo
|
||||
) -> SinglePublisher<Proposal, Error>
|
||||
) -> SinglePublisher<Proposal?, Error>
|
||||
|
||||
func proposefulfillingPaymentURI(
|
||||
_ uri: String,
|
||||
|
|
|
@ -69,24 +69,13 @@ extension CombineSDKSynchronizer: CombineSynchronizer {
|
|||
}
|
||||
}
|
||||
|
||||
public func proposeTransfer(
|
||||
accountIndex: Int,
|
||||
recipient: Recipient,
|
||||
amount: Zatoshi,
|
||||
memo: Memo?
|
||||
) -> SinglePublisher<Proposal, Error> {
|
||||
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<Proposal, Error> {
|
||||
) -> SinglePublisher<Proposal?, Error> {
|
||||
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<AsyncThrowingStream<TransactionSubmitResult, Error>, Error> {
|
||||
AsyncToCombineGateway.executeThrowingAction() {
|
||||
try await self.synchronizer.createProposedTransactions(proposal: proposal, spendingKey: spendingKey)
|
||||
}
|
||||
}
|
||||
|
||||
public func proposeTransfer(
|
||||
accountIndex: Int,
|
||||
recipient: Recipient,
|
||||
|
|
Loading…
Reference in New Issue