You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is actually a really annoying refactor as it requires passing a Program object from the main function processing guards through multiple levels of nesting to the TokenPaymentto_guard_format implementation. Or we have to know in that function which cluster we're on so we can build a RPC client and a make a network call to find out the number of decimal places in the mint.
The SOL implementation works because we know SOL always has nine decimal places.
Issue description
It seems like Sugar doesn't resolve decimal places for token payments the same way it does for SOL. Ideally the handling should be same.
Relevant log output
No response
Priority this issue should have
Low (slightly annoying)
The text was updated successfully, but these errors were encountered: