Closed bvotteler closed 1 year ago
... and replace it with a lookup instead.
While foreign asset id 1 is USDT on interlay and kintsugi, it may have another id on testnets, depending on how they will be initialized/set up.
Instead of having a magic identifier, it is better to lookup and cache the correct on from the asset registry.
See also this comment for reference.
Closing this issue: PR #100 removed the hardcoded asset id.
... and replace it with a lookup instead.
While foreign asset id 1 is USDT on interlay and kintsugi, it may have another id on testnets, depending on how they will be initialized/set up.
Instead of having a magic identifier, it is better to lookup and cache the correct on from the asset registry.
See also this comment for reference.