Browse Source

Fix bad_txns_oversize test for increased block size.

pull/145/head
Taylor Hornby 8 years ago
parent
commit
a4944ffcb0
  1. 2
      src/gtest/test_checktransaction.cpp

2
src/gtest/test_checktransaction.cpp

@ -123,7 +123,7 @@ TEST(checktransaction_tests, bad_txns_oversize) {
mtx.vin[0].scriptSig = CScript();
// 18 * (520char + DROP) + OP_1 = 9433 bytes
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 << OP_1;

Loading…
Cancel
Save