Fix test after refactor to check bacd-cb-height rule on a genesis block

This commit is contained in:
Jack Grigg 2018-08-30 14:47:46 +01:00
parent fb22b3bbd8
commit d7bcbfaee4
No known key found for this signature in database
GPG Key ID: 1B8D649257DB0829
1 changed files with 2 additions and 2 deletions

View File

@ -142,9 +142,9 @@ protected:
TEST_F(ContextualCheckBlockTest, BadCoinbaseHeight) {
// Put a zero-height transaction in a block
// Put a transaction in a block with no height in scriptSig
CMutableTransaction mtx = GetFirstBlockTransaction();
mtx.vin[0].scriptSig = CScript() << 0 << OP_0;
mtx.vin[0].scriptSig = CScript() << OP_0;
mtx.vout.pop_back(); // remove the FR output
CBlock block;