The text in Description field is not correct
I sent the following payments with 2 different Description fields:
In History widget, the text in Description field is not correct.
We should have:
multisig payment
multisig payment 2
instead of
multisig payment 2
multisig payment 2
instead of multisig payment 2 multisig payment 2
that's not what it says. it says multisig payment; multisig payment 2. i.e. it considers both transactions to relate to both invoices.
I don't think there is a bug here, but I cannot say for sure without knowing the addresses/amounts involved in the invoices and the transactions.
edit: in particular, if both invoices involve the same address, that can cause this.
I have the same problem with duplicated descriptions from recent transactions
This can indeed result in annoying behaviour... :/
E.g. imagine a user paying your accountant, on-chain, once a month. Let's say the accountant gives to the user bip21 URIs including a description with e.g. the month/year mentioned, but the bitcoin address is always reused. The current behaviour is that the History tab, for the user, will show labels for each of these txs that are a concatenation of all the descriptions. The accountant reusing addresses is outside the control of the user.
This is because the default label for a txid is a concatenation of all relevant invoice labels (where relevant simply means the tx touches the address). Instead, we could have some kind of stateful mapping between txs and invoices, keeping track which tx was already counted towards satisfying which invoice.