diff options
| author | Suhas Daftuar <[email protected]> | 2017-02-13 17:28:39 -0500 |
|---|---|---|
| committer | Suhas Daftuar <[email protected]> | 2017-02-15 08:17:57 -0500 |
| commit | ba803efb687c2cb408176c546a544a8466c652ea (patch) | |
| tree | c7659cde7bfce8c021c27f762bcb7a0d88b88df2 /src/chainparams.cpp | |
| parent | Merge #9654: Add jtimon pgp keys for commit sigs and future gitian builds (diff) | |
| download | discoin-ba803efb687c2cb408176c546a544a8466c652ea.tar.xz discoin-ba803efb687c2cb408176c546a544a8466c652ea.zip | |
Harden against mistakes handling invalid blocks
Fixes a bug in AcceptBlock() in invoking CheckBlock() with incorrect
arguments, and restores a call to CheckBlock() from ProcessNewBlock()
as belt-and-suspenders.
Updates the (overspecified) tests to match behavior.
Diffstat (limited to 'src/chainparams.cpp')
0 files changed, 0 insertions, 0 deletions