diff --git a/src/com/google/bitcoin/core/Block.java b/src/com/google/bitcoin/core/Block.java index ad74ba7d..3d81a56f 100644 --- a/src/com/google/bitcoin/core/Block.java +++ b/src/com/google/bitcoin/core/Block.java @@ -178,7 +178,7 @@ public class Block extends Message { block.time = time; block.difficultyTarget = difficultyTarget; block.transactions = null; - block.hash = null; + block.hash = getHash().clone(); return block; }