comment.
This commit is contained in:
parent
0080c3e519
commit
fc6feb2125
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user