From 35cbcce79e22d7c3cd9ac1c676ad9b3480bd3fe1 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 8 Jan 2024 15:03:15 +0100 Subject: wallet-core: fix query for nonfinal payment transactions --- packages/taler-wallet-core/src/db.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'packages/taler-wallet-core/src/db.ts') diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts index 6f6aad256..d13e30cc6 100644 --- a/packages/taler-wallet-core/src/db.ts +++ b/packages/taler-wallet-core/src/db.ts @@ -254,6 +254,16 @@ export function timestampOptionalAbsoluteFromDb( * nnnn=0000 should always be the most generic minor state for the major state */ +/** + * First possible operation status in the active range (inclusive). + */ +export const OPERATION_STATUS_ACTIVE_FIRST = 0x0100_0000; + +/** + * LAST possible operation status in the active range (inclusive). + */ +export const OPERATION_STATUS_ACTIVE_LAST = 0x0113_FFFF; + /** * Status of a withdrawal. */ -- cgit v1.2.3