reset the state of DATA_TRANSACTION_CUSTOM_VOUCHER_STATE when performing a transaction reset
Some checks failed
release / docker (push) Has been cancelled

This commit is contained in:
2026-03-13 11:13:55 +03:00
parent b5015e8831
commit 78e028b2b6

View File

@@ -299,6 +299,11 @@ func (h *MenuHandlers) TransactionReset(ctx context.Context, sym string, input [
return res, nil
}
err = store.WriteEntry(ctx, sessionId, storedb.DATA_TRANSACTION_CUSTOM_VOUCHER_STATE, []byte(""))
if err != nil {
return res, nil
}
res.FlagReset = append(res.FlagReset, flag_invalid_recipient, flag_invalid_recipient_with_invite)
return res, nil