use of co.rsk.net.BlockProcessor in project rskj by rsksmart.
the class TxBuilderTest method createAndBroadcastTransaction.
@Test
public void createAndBroadcastTransaction() {
SimpleEthereum rsk = new SimpleEthereum();
BlockProcessor blockProcessor = Mockito.mock(BlockProcessor.class);
TxBuilder builder = new TxBuilder(config, rsk, blockProcessor, (Repository) rsk.repository);
BigInteger nonce = BigInteger.TEN;
try {
builder.createNewTx(nonce);
} catch (InterruptedException ex) {
Assert.fail();
}
}
Aggregations