Fix bad_txns_oversize test for increased block size.
This commit is contained in:
@@ -123,7 +123,7 @@ TEST(checktransaction_tests, bad_txns_oversize) {
|
|||||||
mtx.vin[0].scriptSig = CScript();
|
mtx.vin[0].scriptSig = CScript();
|
||||||
// 18 * (520char + DROP) + OP_1 = 9433 bytes
|
// 18 * (520char + DROP) + OP_1 = 9433 bytes
|
||||||
std::vector<unsigned char> vchData(520);
|
std::vector<unsigned char> vchData(520);
|
||||||
for (unsigned int i = 0; i < 2000; ++i)
|
for (unsigned int i = 0; i < 4000; ++i)
|
||||||
mtx.vin[0].scriptSig << vchData << OP_DROP;
|
mtx.vin[0].scriptSig << vchData << OP_DROP;
|
||||||
mtx.vin[0].scriptSig << OP_1;
|
mtx.vin[0].scriptSig << OP_1;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user