Compare commits

...

2 Commits

Author SHA1 Message Date
Alfred Kamanda
78e028b2b6 reset the state of DATA_TRANSACTION_CUSTOM_VOUCHER_STATE when performing a transaction reset
Some checks failed
release / docker (push) Has been cancelled
2026-03-13 11:13:55 +03:00
b5015e8831 Merge pull request 'send-max-amount-hotfix' (#120) from send-max-amount-hotfix into master
Reviewed-on: #120
2026-03-03 11:32:56 +01:00

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