Zcoin implementation bug enabled attacker to create 548, 000 Zcoins

Inquie via Digitalmars-d digitalmars-d at puremagic.com
Sun Mar 12 01:52:32 PST 2017


On Tuesday, 7 March 2017 at 05:44:49 UTC, Walter Bright wrote:
> 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

Probably an inside job... probably designed that way from the 
start...


More information about the Digitalmars-d mailing list