ergoplatform / explorer-backend

Ergo Blockchain Explorer
22 stars 31 forks source link

Token amount can be underestimated when minted in more than one box #181

Open abchrisxyz opened 2 years ago

abchrisxyz commented 2 years ago

This tx mints a token into two output boxes: https://explorer.ergoplatform.com/en/transactions/79451d8c64afa7215546e8380c56bf0931e278ce08173bfe7cecd10e263fb134

Reported token amount (https://explorer.ergoplatform.com/en/issued-tokens?searchQuery=4a9d3ee47125781e5a2976e0c37862ae53e8f9ee39a26269a9c8c5d50bb05b9a) shows amount of tokens minted in first box, ignoring amount of tokens in second box.

MrStahlfelge commented 2 years ago

In my opinion we should not allow such token mintings. It will probably break most other clients as well.