Convert TransactionTransformer LOGGER.trace to use lambda for speed

This commit is contained in:
catbref 2019-09-23 16:45:26 +01:00
parent 4b5ed79c5a
commit aa54ec212f

View File

@ -187,7 +187,7 @@ public abstract class TransactionTransformer extends Transformer {
if (bytes == null)
return null;
LOGGER.trace("tx hex: " + HashCode.fromBytes(bytes).toString());
LOGGER.trace(() -> "tx hex: " + HashCode.fromBytes(bytes).toString());
ByteBuffer byteBuffer = ByteBuffer.wrap(bytes);