Zcoin implementation bug enabled attacker to create 548,000 Zcoins
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Mon Mar 6 21:44:49 PST 2017
https://makebitcoingreatagain.wordpress.com/2017/02/18/is-the-zcoin-bug-in-checktransaction/#update6
The error is here:
https://github.com/zcoinofficial/zcoin/blob/81a667867b5d8489...
and the line of code:
zccoinSpend.denomination == libzerocoin::ZQ_LOVELACE;
In other words, a statement with no effect. In D, such a line gives an error,
not a warning:
Error: == has no effect in expression
More information about the Digitalmars-d
mailing list