use of co.rsk.net.NodeBlockProcessor in project rskj by rsksmart.
the class WorldDslProcessor method processBlockProcessCommand.
private void processBlockProcessCommand(DslCommand cmd) {
NodeBlockProcessor blockProcessor = world.getBlockProcessor();
int nblocks = cmd.getArity();
for (int k = 0; k < nblocks; k++) {
String name = cmd.getArgument(k);
Block block = world.getBlockByName(name);
blockProcessor.processBlock(null, block);
}
}
Aggregations