minor.
This commit is contained in:
parent
1f2e1fb6d5
commit
ff467afaff
@ -955,7 +955,7 @@ Chain.prototype.add = function add(initial, peer, callback) {
|
|||||||
hash: entry.hash,
|
hash: entry.hash,
|
||||||
checkpoint: checkpoint
|
checkpoint: checkpoint
|
||||||
}, peer);
|
}, peer);
|
||||||
if (hash !== checkpoint) {
|
if (entry.hash !== checkpoint) {
|
||||||
// Resetting to the last checkpoint _really_ isn't
|
// Resetting to the last checkpoint _really_ isn't
|
||||||
// necessary (even bitcoind doesn't do it), but it
|
// necessary (even bitcoind doesn't do it), but it
|
||||||
// could be used if you want to be on the overly
|
// could be used if you want to be on the overly
|
||||||
|
|||||||
@ -2414,8 +2414,6 @@ script.getArgs = function getArgs(s) {
|
|||||||
|
|
||||||
if (script.isMultisig(s)) {
|
if (script.isMultisig(s)) {
|
||||||
keys = s.slice(1, -2);
|
keys = s.slice(1, -2);
|
||||||
if (!pub)
|
|
||||||
return -1;
|
|
||||||
m = s[0];
|
m = s[0];
|
||||||
if (keys.length < 1 || m < 1)
|
if (keys.length < 1 || m < 1)
|
||||||
return -1;
|
return -1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user