standard: remove padded Blocks

This commit is contained in:
Daniel Cousens 2015-09-05 14:10:25 +10:00
parent ec1195bcee
commit 2d75b7e7ff
6 changed files with 2 additions and 12 deletions

View file

@ -203,7 +203,6 @@ describe('TransactionBuilder', function () {
if (!sign.throws) {
txb.sign(index, keyPair, redeemScript, sign.hashType)
} else {
assert.throws(function () {
txb.sign(index, keyPair, redeemScript, sign.hashType)
@ -229,9 +228,7 @@ describe('TransactionBuilder', function () {
describe('for ' + (f.description || f.exception), function () {
beforeEach(function () {
if (f.txHex) {
var tx = Transaction.fromHex(f.txHex)
txb = TransactionBuilder.fromTransaction(tx)
txb = TransactionBuilder.fromTransaction(Transaction.fromHex(f.txHex))
} else {
txb = construct(f)
}