mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-07 14:54:15 +00:00
Fix block tests
This commit is contained in:
parent
a7ec6a1db3
commit
41d2a8c62d
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user