File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
patches/bsv/lib/transaction Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
# CHANGELOG
2
2
3
+ ## 2.1.42
4
+
5
+ update bsv lib
6
+ - fix transaction over the maximum block size
7
+ - ` signTx ` add ` hashCache ` parameter
8
+
3
9
## 2.1.37
4
10
5
11
- update bsv lib
Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ function Transaction (serialized) {
62
62
63
63
var CURRENT_VERSION = 1
64
64
var DEFAULT_NLOCKTIME = 0
65
- var MAX_BLOCK_SIZE = 1000000
66
65
67
66
// Minimum amount for an output for it not to be considered a dust output
68
67
Transaction . DUST_AMOUNT = 1
@@ -1201,11 +1200,6 @@ Transaction.prototype.verify = function (notVerifyInput) {
1201
1200
}
1202
1201
}
1203
1202
1204
- // Size limits
1205
- if ( this . toBuffer ( ) . length > MAX_BLOCK_SIZE ) {
1206
- return 'transaction over the maximum block size'
1207
- }
1208
-
1209
1203
// Check for duplicate inputs
1210
1204
var txinmap = { }
1211
1205
for ( i = 0 ; i < this . inputs . length ; i ++ ) {
You can’t perform that action at this time.
0 commit comments