Zcoin implementation bug enabled attacker to create 548, 000 Zcoins
Arun Chandrasekaran via Digitalmars-d
digitalmars-d at puremagic.com
Thu Mar 9 01:34:10 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
Coincidentally, saw this in
https://www.youtube.com/watch?v=A8Btr8TPJ8c&feature=youtu.be&t=469, while watching DConf 2015. No one spotted this bug (wasFound) in the conf?
More information about the Digitalmars-d
mailing list