Fix block tests

This commit is contained in:
Matt Corallo
2013-07-30 15:50:24 +02:00
committed by Mike Hearn
parent 79f093f0c4
commit 2d1479eca9

View File

@@ -1292,6 +1292,11 @@ public class FullBlockTestGenerator {
}
b69.solve();
blocks.add(new BlockAndValidity(blockToHeightMap, b69, true, false, b69.getHash(), chainHeadHeight + 21, "b69"));
spendableOutputs.offer(new TransactionOutPointWithValue(
new TransactionOutPoint(params, 0, b69.getTransactions().get(0).getHash()),
b69.getTransactions().get(0).getOutputs().get(0).getValue(),
b69.getTransactions().get(0).getOutputs().get(0).getScriptPubKey()));
// Test spending the outpoint of a non-existent transaction
// -> b53 (14) -> b55 (15) -> b57 (16) -> b60 (17) -> b64 (18) -> b65 (19) -> b69 (20)