diff --git a/ethereumj-core/src/main/java/org/ethereum/core/BlockHeader.java b/ethereumj-core/src/main/java/org/ethereum/core/BlockHeader.java index aca84801..3e4ebd30 100644 --- a/ethereumj-core/src/main/java/org/ethereum/core/BlockHeader.java +++ b/ethereumj-core/src/main/java/org/ethereum/core/BlockHeader.java @@ -251,19 +251,19 @@ public class BlockHeader { public String toStylishString() { toStringBuff.setLength(0); - toStringBuff.append(", parentHash=" + ByteUtil.toHexString(parentHash)).append("
"); - toStringBuff.append(", unclesHash=" + ByteUtil.toHexString(unclesHash)).append("
"); - toStringBuff.append(", coinbase=" + ByteUtil.toHexString(coinbase)).append("
"); - toStringBuff.append(", stateRoot=" + ByteUtil.toHexString(stateRoot)).append("
"); - toStringBuff.append(", txTrieHash=" + ByteUtil.toHexString(txTrieRoot)).append("
"); - toStringBuff.append(", difficulty=" + ByteUtil.toHexString(difficulty)).append("
"); + toStringBuff.append(", parentHash=" + toHexString(parentHash)).append("
"); + toStringBuff.append(", unclesHash=" + toHexString(unclesHash)).append("
"); + toStringBuff.append(", coinbase=" + toHexString(coinbase)).append("
"); + toStringBuff.append(", stateRoot=" + toHexString(stateRoot)).append("
"); + toStringBuff.append(", txTrieHash=" + toHexString(txTrieRoot)).append("
"); + toStringBuff.append(", difficulty=" + toHexString(difficulty)).append("
"); toStringBuff.append(", number=" + number).append("
"); toStringBuff.append(", minGasPrice=" + minGasPrice).append("
"); toStringBuff.append(", gasLimit=" + gasLimit).append("
"); toStringBuff.append(", gasUsed=" + gasUsed).append("
"); toStringBuff.append(", timestamp=" + timestamp + " (" + Utils.longToDateTime(timestamp) + ")").append("
"); - toStringBuff.append(", extraData=" + ByteUtil.toHexString(extraData)).append("
"); - toStringBuff.append(", nonce=" + ByteUtil.toHexString(nonce)).append("
"); + toStringBuff.append(", extraData=" + toHexString(extraData)).append("
"); + toStringBuff.append(", nonce=" + toHexString(nonce)).append("
"); return toStringBuff.toString(); }