added a db key to store the state of the custom transaction voucher

This commit is contained in:
Alfred Kamanda 2026-02-17 16:07:34 +03:00
parent 96ba48bcba
commit 2d6e7e81dd
Signed by: Alfred-mk
GPG Key ID: 7EA3D01708908703
2 changed files with 3 additions and 1 deletions

View File

@ -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

1 flag flag_language_set 8 checks whether the user has set their prefered language
37 flag flag_alias_unavailable 44 this is set when the preferred alias is not available
38 flag flag_swap_transaction 45 this is set when the transaction will involve performing a swap
39 flag flag_no_stable_vouchers 46 this is set when the user does not have a stable voucher
40 flag flag_single_voucher flag_multiple_voucher 47 this is set when the user only has a single voucher this is set when the user only has a multiple voucher

View File

@ -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 (