From 2d6e7e81ddb32979ea09eeb9f1c5754037724201 Mon Sep 17 00:00:00 2001 From: alfred-mk Date: Tue, 17 Feb 2026 16:07:34 +0300 Subject: [PATCH] added a db key to store the state of the custom transaction voucher --- services/registration/pp.csv | 2 +- store/db/db.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/services/registration/pp.csv b/services/registration/pp.csv index 9a3ebec..f80a137 100644 --- a/services/registration/pp.csv +++ b/services/registration/pp.csv @@ -37,4 +37,4 @@ flag,flag_low_swap_amount,43,this is set when the swap max limit is less than 0. flag,flag_alias_unavailable,44,this is set when the preferred alias is not available flag,flag_swap_transaction,45,this is set when the transaction will involve performing a swap flag,flag_no_stable_vouchers,46,this is set when the user does not have a stable voucher -flag,flag_single_voucher,47,this is set when the user only has a single voucher +flag,flag_multiple_voucher,47,this is set when the user only has a multiple voucher diff --git a/store/db/db.go b/store/db/db.go index 67850b9..a984efe 100644 --- a/store/db/db.go +++ b/store/db/db.go @@ -95,6 +95,8 @@ const ( DATA_RECIPIENT_PHONE_NUMBER // Currently active swap from balance for the swap DATA_ACTIVE_SWAP_FROM_BALANCE + // Holds the state whether the transaction uses a custom voucher + DATA_TRANSACTION_CUSTOM_VOUCHER ) const (