This commit is contained in:
Christopher Jeffrey 2016-06-13 08:04:26 -07:00
parent 0080c3e519
commit fc6feb2125
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -568,7 +568,7 @@ Chain.prototype._verify = function _verify(block, prev, callback) {
}
// Blocks that do not commit to
// witness data data cannot contain it.
// witness data cannot contain it.
if (!commitmentHash) {
if (block.hasWitness()) {
return callback(new VerifyError(block,