aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.cpp
diff options
context:
space:
mode:
authorSuhas Daftuar <[email protected]>2017-02-13 17:28:39 -0500
committerSuhas Daftuar <[email protected]>2017-02-15 08:17:57 -0500
commitba803efb687c2cb408176c546a544a8466c652ea (patch)
treec7659cde7bfce8c021c27f762bcb7a0d88b88df2 /src/chainparams.cpp
parentMerge #9654: Add jtimon pgp keys for commit sigs and future gitian builds (diff)
downloaddiscoin-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