@t2000/engine 0.46.9 → 0.46.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2162,8 +2162,7 @@ var explainTxTool = buildTool({
2162
2162
  if (balanceChanges?.length) {
2163
2163
  for (const bc of balanceChanges) {
2164
2164
  const ownerAddr = bc.owner?.AddressOwner ?? bc.owner?.ObjectOwner ?? "unknown";
2165
- const coinParts = bc.coinType.split("::");
2166
- const symbol = coinParts[coinParts.length - 1] ?? bc.coinType;
2165
+ const symbol = resolveSymbol(bc.coinType);
2167
2166
  const amount = Number(bc.amount);
2168
2167
  const isNegative = amount < 0;
2169
2168
  const decimals = getDecimalsForCoinType(bc.coinType);