-also check for revoked
This commit is contained in:
parent
e4679fba51
commit
f1f332e0a6
@ -293,6 +293,8 @@ export interface DenominationRecord {
|
||||
* Was this denomination still offered by the exchange the last time
|
||||
* we checked?
|
||||
* Only false when the exchange redacts a previously published denomination.
|
||||
*
|
||||
* FIXME: Consider rolling this and isRevoked into some bitfield?
|
||||
*/
|
||||
isOffered: boolean;
|
||||
|
||||
|
@ -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!
|
||||
|
Loading…
Reference in New Issue
Block a user