Open tequdev opened 3 months ago
good catch, an oversight indeed
will fix it on the next binary
If we add this to Remit then we need to decide if we should add this to payment as well. Related to https://github.com/Xahau/xahaud/issues/262
I guess Payment and OfferCreate transactions set the weakTSH through addWeakTSHFromSandbox()
.
We need to support this in transactors (Escrow, Paychan, Check) that do not use PaymentSandbox.
I guess Payment and OfferCreate transactions set the weakTSH through
addWeakTSHFromSandbox()
.
Ah, this is for non-issuer.
addWeakTSHFromSandbox
executes on crossed account that are not the issuer. So I think this is a different issue? Also does Escrow, Paychan and Check use pathing?
Yes, the result would be the same as the existing issue. Is this a issue that needs to be fixed? Or is this a feature that is expected to be added in the future?
It may affect the validator's vote.
Technically its a feature imo but if @RichardAH is open to it we could add it.
I think issuers should be weak tshes on all dealing in their currencies. It's over-looked in a bunch of places indeed.
Issue Description
If a token is specified in the Amounts field of a Remit transaction, the Hook of that token issuer will not be invoked.
Expected Result
The issuer of the token being sent must be weakTSH.
Actual Result
The issuer of the token being sent is not TSH.
Environment
xahaud 2024.3.12-release+790
Supporting Files
https://gist.github.com/tequdev/dd19dfaacca7bd3372b646f423004a03