diff options
author | Florian Dold <florian@dold.me> | 2024-04-04 15:43:12 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-04-04 15:43:12 +0200 |
commit | e7a966f755e78bf9ec200f29e49706045d1e1a54 (patch) | |
tree | f6843b80fbf190b547aed3f3c37d4ae1720b5d7e /packages/taler-wallet-core/src/coinSelection.ts | |
parent | ac8adbc4a1a93664763d7e35bade940d598d0f74 (diff) | |
download | wallet-core-e7a966f755e78bf9ec200f29e49706045d1e1a54.tar.xz |
wallet-core: allow peer-push with coins locked behind refresh
Diffstat (limited to 'packages/taler-wallet-core/src/coinSelection.ts')
-rw-r--r-- | packages/taler-wallet-core/src/coinSelection.ts | 9 |
1 files changed, 1 insertions, 8 deletions
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, |