remove useless code.

This commit is contained in:
Christopher Jeffrey 2015-12-07 16:34:44 -08:00
parent 58d8881e46
commit 77623bb8d6

View File

@ -439,11 +439,6 @@ TX.prototype.maxSize = function maxSize() {
redeem = script[script.length - 1];
m = redeem[0];
n = redeem[redeem.length - 2];
// If using pushdata instead of OP_1-16:
if (Array.isArray(m))
m = m[0];
if (Array.isArray(n))
n = n[0];
} else {
// May end up in a higher fee if we
// do not have the redeem script available.