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


The error is here:


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