This commit is contained in:
Christopher Jeffrey 2016-02-18 01:12:39 -08:00
parent 1f2e1fb6d5
commit ff467afaff
2 changed files with 1 additions and 3 deletions

View File

@ -955,7 +955,7 @@ Chain.prototype.add = function add(initial, peer, callback) {
hash: entry.hash,
checkpoint: checkpoint
}, peer);
if (hash !== checkpoint) {
if (entry.hash !== checkpoint) {
// Resetting to the last checkpoint _really_ isn't
// necessary (even bitcoind doesn't do it), but it
// could be used if you want to be on the overly

View File

@ -2414,8 +2414,6 @@ script.getArgs = function getArgs(s) {
if (script.isMultisig(s)) {
keys = s.slice(1, -2);
if (!pub)
return -1;
m = s[0];
if (keys.length < 1 || m < 1)
return -1;