aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/testing.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-04-04 14:48:29 +0200
committerFlorian Dold <florian@dold.me>2024-04-04 14:48:37 +0200
commitcf31b263ae249979cea8d64ee524cfff4b50f04b (patch)
tree606dc5ceb3991472d5ab94bffffc5f158776ae0c /packages/taler-wallet-core/src/testing.ts
parentc7e68c254aa93778b8201227d6db1ac57e081e81 (diff)
downloadwallet-core-cf31b263ae249979cea8d64ee524cfff4b50f04b.tar.xz
wallet-core: allow payments to merchant with coins locked behind refresh
Diffstat (limited to 'packages/taler-wallet-core/src/testing.ts')
-rw-r--r--packages/taler-wallet-core/src/testing.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/testing.ts b/packages/taler-wallet-core/src/testing.ts
index b192e7b70..32c0765b4 100644
--- a/packages/taler-wallet-core/src/testing.ts
+++ b/packages/taler-wallet-core/src/testing.ts
@@ -912,6 +912,6 @@ export async function testPay(
});
checkLogicInvariant(!!purchase);
return {
- numCoins: purchase.payInfo?.payCoinSelection.coinContributions.length ?? 0,
+ numCoins: purchase.payInfo?.payCoinSelection?.coinContributions.length ?? 0,
};
}