nochowderforyou / clams

Clam Project
MIT License
61 stars 58 forks source link

khashier displays this transaction incorrectly #130

Open dooglus opened 9 years ago

dooglus commented 9 years ago

See http://khashier.com/tx/24acea41498b2f387ff751997f8dc90a4551f7b638e7cfc00750a9966f3bc018

It says the fee is -3.9961 when it was really 0.0039. It says it has 839 outputs when it really has 838.

It lists one of the outputs twice, with two different 'spent' links: http://khashier.com/tx/5d46a5d2596e41b3f42c161a362532ce82a54c599b2fb5e75e153aa941acb553 http://khashier.com/tx/53a63ff503e39486cafc279d4ae3feabbbaf539c396404c1fff4ad70512244dd

The 'output' link in both of the above points at http://khashier.com/tx/24acea41498b2f387ff751997f8dc90a4551f7b638e7cfc00750a9966f3bc018#o465

The output in question staked twice, but one of them was orphaned.

dooglus commented 9 years ago

The bug is more obvious here, where the fee is off by around 2000 CLAMs:

http://khashier.com/tx/3423091ad3e4dbb17822baeeae773dc9741995a3db9b9ce77732167f8e9a1913

screenshot - 15-02-14 - 10 17 39 am

The 1999.9999 output is counted twice - once when it was orphaned and once when it wasn't:

screenshot - 15-02-14 - 10 19 22 am

dooglus commented 9 years ago

I just noticed it again:

http://khashier.com/tx/f1cad229a6fbe5765e854ac194f892049c9af8528d93d7c64145326a9d27b22d

screenshot from 2015-08-11 11 51 34