return new Triplet<>(tx0, tx1, pledge.build());
}
public static TransactionInput makeRandomInput() {
TransactionSignature dummy = TransactionSignature.dummy();
dummy = new TransactionSignature(dummy.toCanonicalised(), Transaction.SigHash.ALL, true);
byte[] script = ScriptBuilder.createInputScript(dummy).getProgram();
// Nonsense outpoint, it doesn't matter.
counter[0]++;
return new TransactionInput(UnitTestParams.get(), null, script, new TransactionOutPoint(UnitTestParams.get(), 0, Sha256Hash.create(counter)));
}