aboutsummaryrefslogtreecommitdiffstats
path: root/core/test/network.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/test/network.go')
-rw-r--r--core/test/network.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/test/network.go b/core/test/network.go
index e603a45..8bcb050 100644
--- a/core/test/network.go
+++ b/core/test/network.go
@@ -544,7 +544,7 @@ func (n *Network) addBlockToCache(b *types.Block) {
break
}
}
- n.blockCache[b.Hash] = b
+ n.blockCache[b.Hash] = b.Clone()
}
func (n *Network) addVoteToCache(v *types.Vote) {