File tree Expand file tree Collapse file tree
patches/bsv/lib/transaction Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# CHANGELOG
22
3+ ## 2.1.42
4+
5+ update bsv lib
6+ - fix transaction over the maximum block size
7+ - ` signTx ` add ` hashCache ` parameter
8+
39## 2.1.37
410
511- update bsv lib
Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ function Transaction (serialized) {
6262
6363var CURRENT_VERSION = 1
6464var 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
6867Transaction . 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 ++ ) {
You can’t perform that action at this time.
0 commit comments