exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit dd7f5262d899ad484ef54a6dc8ffac818c720ec4
parent 66c7ef82491070d40275ed1ab787be0a3151d31a
Author: Özgür Kesim <oec@codeblau.de>
Date:   Mon, 12 Oct 2026 14:36:47 +0200

[exchange] fix /reveal-melt crash on the noreveal batch's transfer pubs

Since f87c07e3b the commitment hashes the transfer pubs of all batches.

Diffstat:
Msrc/exchange/taler-exchange-httpd_post-reveal-melt.c | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/exchange/taler-exchange-httpd_post-reveal-melt.c b/src/exchange/taler-exchange-httpd_post-reveal-melt.c @@ -540,9 +540,12 @@ verify_commitment ( if (k == rf->noreveal_index) { /** - * We take the stored value for the hash of selected batch + * We take the stored values for the hash and the + * transfer public keys of the selected batch */ kappa_planchets_h.tuple[k] = rf->selected_h; + if (! rf->is_v27_refresh) + kappa_transfer_pubs.batch[k] = rf->transfer_pubs; } else {