DevStakePool / thoth-bot

THOTH - Telegram Cardano BOT that is able to notify users about wallet TXs
Apache License 2.0
10 stars 1 forks source link

Internal transfer between handled accounts from the same user, shows wrong total #6

Closed DevStakePool closed 1 year ago

DevStakePool commented 1 year ago

Check the output of this TX. It should be 5K ADA, but it's higher https://cardanoscan.io/transaction/d2c2cdc20a5a391cc3efadaf5146704159492d7407263706bd696e12565ccf30 🔑 $alessio.dev ✉ 1 new transaction(s)

Sent Funds 31.01.2023, 12:22 PM 🔹Fee 0.18 ₳ 🔹Output -6,298.46 ₳

DevStakePool commented 1 year ago

Another example where only 200 NTX were transferred.

https://cardanoscan.io/stakekey/stake1u8lffpd48ss4f2pe0rhhj4n2edkgwl38scl09f9f43y0azcnhxhwr 🔑 $gioconda ✉ 1 new transaction(s)

⤴ Sent Funds and Tokens 06.02.2023, 01:56 PM 🔹Fee 0.18 ₳ 🔹Output -77.13 ₳ 🔸SCAMItsAScam 1 🔸ZiberBugs 12.79 🔸THM 736.73 🔸CULO 100,000 🔸Cornucopias [via ChainPort.io] 20.00 🔸COC 6,005,000,000 🔸gioconda 1 🔸NTX 200.00

DevStakePool commented 1 year ago

Another example TX a64bcb3c53f502b08dd966942515bb5201ce131e56acc22e95b56813c9353fe3

This is already in the integration tests Should just be -10ADA output

Sent Funds 02.11.2022, 08:54 AM 🔹Fee 0.27 ₳ 🔹Output -9,872.71 ₳

DevStakePool commented 1 year ago

No longer reproducible. The bot gives the following output now

Sent Funds and Tokens 06.02.2023, 01:55 PM 🔹Fee 0.18 ₳ 🔹Output -1.33 ₳ 🔸NTX 200.00

Which is correct