commit 3f86a1965266a5e8a1cedfa69a7e806e56efc91d
parent eb66c640a26b3606cb4942dec7222490eaf8df1f
Author: Florian Dold <florian@dold.me>
Date: Wed, 27 Nov 2024 15:55:06 +0100
-small fixes from QC
Diffstat:
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/packages/taler-util/src/codec.ts b/packages/taler-util/src/codec.ts
@@ -159,8 +159,8 @@ class ObjectCodecBuilder<OutputType, PartialOutputType> {
if (allowExtra) {
obj[prop] = x[prop];
} else if (deprecatedPros.has(prop)) {
- logger.warn(
- `Deprecated operty ${prop} for ${objectDisplayName} at ${renderContext(
+ logger.trace(
+ `Deprecated property ${prop} for ${objectDisplayName} at ${renderContext(
c,
)}`,
);
diff --git a/packages/taler-wallet-core/src/pay-merchant.ts b/packages/taler-wallet-core/src/pay-merchant.ts
@@ -653,7 +653,7 @@ export class RefundTransactionContext implements TransactionContext {
refundGroupId: refundRecord.refundGroupId,
}),
txState,
- txActions: [],
+ txActions: [TransactionAction.Delete],
paymentInfo,
};
}
@@ -670,7 +670,6 @@ export class RefundTransactionContext implements TransactionContext {
await tx.refundGroups.delete(refundGroupId);
await this.updateTransactionMeta(tx);
await tx.tombstones.put({ id: transactionId });
- // FIXME: Also tombstone the refund items, so that they won't reappear.
},
);
}