Skip to content

Commit cb811e2

Browse files
committed
update bsvlib
1 parent 7326600 commit cb811e2

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

patches/bsv/lib/transaction/transaction.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ function Transaction (serialized) {
6262

6363
var CURRENT_VERSION = 1
6464
var DEFAULT_NLOCKTIME = 0
65-
var MAX_BLOCK_SIZE = 1000000
6665

6766
// Minimum amount for an output for it not to be considered a dust output
6867
Transaction.DUST_AMOUNT = 1
@@ -1201,11 +1200,6 @@ Transaction.prototype.verify = function (notVerifyInput) {
12011200
}
12021201
}
12031202

1204-
// Size limits
1205-
if (this.toBuffer().length > MAX_BLOCK_SIZE) {
1206-
return 'transaction over the maximum block size'
1207-
}
1208-
12091203
// Check for duplicate inputs
12101204
var txinmap = {}
12111205
for (i = 0; i < this.inputs.length; i++) {

0 commit comments

Comments
 (0)