diff options
author | Florian Dold <florian@dold.me> | 2022-09-19 12:21:00 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-09-19 12:21:00 +0200 |
commit | f1f332e0a6e10d380df0c60580ca37f91d394a60 (patch) | |
tree | ff2eea6346c579d0f58baf96f379f11cbebdd0a5 /packages/taler-wallet-core/src/operations/pay.ts | |
parent | e4679fba513edff73692021f5ca6bfd1a29f0398 (diff) | |
download | wallet-core-f1f332e0a6e10d380df0c60580ca37f91d394a60.tar.gz wallet-core-f1f332e0a6e10d380df0c60580ca37f91d394a60.tar.bz2 wallet-core-f1f332e0a6e10d380df0c60580ca37f91d394a60.zip |
-also check for revoked
Diffstat (limited to 'packages/taler-wallet-core/src/operations/pay.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/pay.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/pay.ts b/packages/taler-wallet-core/src/operations/pay.ts index bc8cb3768..18be0fe65 100644 --- a/packages/taler-wallet-core/src/operations/pay.ts +++ b/packages/taler-wallet-core/src/operations/pay.ts @@ -960,7 +960,7 @@ export async function selectCandidates( denomAvail.denomPubHash, ]); checkDbInvariant(!!denom); - if (!denom.isOffered) { + if (denom.isRevoked || !denom.isOffered) { continue; } // FIXME: validation status and isOffered! |