From e7a966f755e78bf9ec200f29e49706045d1e1a54 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 4 Apr 2024 15:43:12 +0200 Subject: wallet-core: allow peer-push with coins locked behind refresh --- packages/taler-wallet-core/src/coinSelection.ts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'packages/taler-wallet-core/src/coinSelection.ts') diff --git a/packages/taler-wallet-core/src/coinSelection.ts b/packages/taler-wallet-core/src/coinSelection.ts index bce51fd91..0027241c4 100644 --- a/packages/taler-wallet-core/src/coinSelection.ts +++ b/packages/taler-wallet-core/src/coinSelection.ts @@ -1001,13 +1001,6 @@ export interface PeerCoinSelectionRequest { * selection instead of selecting completely new coins. */ repair?: PreviousPayCoins; - - /** - * If set to true, the coin selection will also use coins that are not - * materially available yet, but that are expected to become available - * as the output of a refresh operation. - */ - includePendingCoins: boolean; } export async function computeCoinSelMaxExpirationDate( @@ -1191,7 +1184,7 @@ export async function selectPeerCoins( false, ); - if (!avRes && req.includePendingCoins) { + if (!avRes) { // Try to see if we can do a prospective selection const prospectiveAvRes = await internalSelectPeerCoins( wex, -- cgit v1.2.3