Skip to content

Commit

Permalink
Block: Fix missing linefeed after hash in toString().
Browse files Browse the repository at this point in the history
  • Loading branch information
schildbach committed Nov 30, 2015
1 parent 6b95012 commit 7001c47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/bitcoinj/core/Block.java
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ protected final void copyBitcoinHeaderTo(final Block block) {
public String toString() {
StringBuilder s = new StringBuilder();
s.append(" block: \n");
s.append(" hash: ").append(getHashAsString());
s.append(" hash: ").append(getHashAsString()).append('\n');
s.append(" version: ").append(version);
String bips = Joiner.on(", ").skipNulls().join(isBIP34() ? "BIP34" : null, isBIP66() ? "BIP66" : null,
isBIP65() ? "BIP65" : null, isBIP101() ? "BIP101" : null);
Expand Down

0 comments on commit 7001c47

Please sign in to comment.