commit 106c8bbdfde6aac610d703b3f9a34ded1b4526d4
parent 68ba80f33b33154b6b17ee2526cee40ee07dc9cb
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 8 Nov 2026 23:11:13 +0100
the loss on a bad merge sig is the amount of the purse, not just the purse_fee
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/auditor/taler-helper-auditor-purses.c b/src/auditor/taler-helper-auditor-purses.c
@@ -953,7 +953,7 @@ handle_account_merged (
struct TALER_AUDITORDB_BadSigLosses bsl = {
.problem_row_id = rowid,
.operation = (char *) "account-merge",
- .loss = *purse_fee,
+ .loss = *amount,
.operation_specific_pub = reserve_pub->eddsa_pub
};
@@ -968,7 +968,7 @@ handle_account_merged (
}
TALER_ARL_amount_add (&TALER_ARL_USE_AB (purse_total_bad_sig_loss),
&TALER_ARL_USE_AB (purse_total_bad_sig_loss),
- purse_fee);
+ amount);
return GNUNET_OK;
}
ps = setup_purse (pc,