minor.
This commit is contained in:
parent
1011d1f824
commit
9afb141dce
@ -266,7 +266,6 @@ MerkleBlock.prototype._verify = function _verify(ret) {
|
||||
if (!this.verifyHeaders(ret))
|
||||
return false;
|
||||
|
||||
// Verify the partial merkle tree if we are a merkleblock.
|
||||
if (!this.verifyPartial()) {
|
||||
ret.reason = 'bad-txnmrklroot';
|
||||
ret.score = 100;
|
||||
@ -320,9 +319,7 @@ MerkleBlock.prototype.inspect = function inspect() {
|
||||
*/
|
||||
|
||||
MerkleBlock.prototype.toRaw = function toRaw(enc) {
|
||||
var data;
|
||||
|
||||
data = this.render();
|
||||
var data = this.render();
|
||||
|
||||
if (enc === 'hex')
|
||||
data = data.toString('hex');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user