debt-menu #115

Merged
Alfred-mk merged 131 commits from debt-menu into master 2026-02-25 09:44:58 +01:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 5650629ae4 - Show all commits

View File

@ -451,9 +451,9 @@ func (h *MenuHandlers) ValidateCreditVoucher(ctx context.Context, sym string, in
}
// Store the state of the custom transaction voucher
err = userStore.WriteEntry(ctx, sessionId, storedb.DATA_TRANSACTION_CUSTOM_VOUCHER, []byte("1"))
err = userStore.WriteEntry(ctx, sessionId, storedb.DATA_TRANSACTION_CUSTOM_VOUCHER_STATE, []byte("1"))
if err != nil {
logg.ErrorCtxf(ctx, "failed to write custom transaction voucher", "key", storedb.DATA_TRANSACTION_CUSTOM_VOUCHER, "error", err)
logg.ErrorCtxf(ctx, "failed to write custom transaction voucher", "key", storedb.DATA_TRANSACTION_CUSTOM_VOUCHER_STATE, "error", err)
return res, err
}

View File

@ -96,7 +96,7 @@ const (
// 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
DATA_TRANSACTION_CUSTOM_VOUCHER_STATE
// Holds the initial recipient input given by the user
DATA_RECIPIENT_INPUT
)