Skip to content

Commit b01a3b4

Browse files
committed
remove extraneous transaction length check
1 parent 482e088 commit b01a3b4

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

lib/validation.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,6 @@ export class ValidatorType1 {
124124
this.cachedRawTransactions.set(txid, res);
125125
}
126126
if (this.cachedRawTransactions.has(txid)) {
127-
if (this.cachedRawTransactions.get(txid)!.length < 60) {
128-
throw Error("Valid transaction data not provided.");
129-
}
130127
return this.cachedRawTransactions.get(txid)!;
131128
}
132129
throw Error("Transaction data not provided (null or undefined).");

0 commit comments

Comments
 (0)