From 33783d4baa2d7edb8be4aa75c6cf997df4da2c37 Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Sat, 16 Mar 2019 14:32:07 +1100 Subject: [PATCH] Fix borrow issue in `BeaconBlock` --- eth2/types/src/beacon_block.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth2/types/src/beacon_block.rs b/eth2/types/src/beacon_block.rs index bfe266cbd..2dcf91d95 100644 --- a/eth2/types/src/beacon_block.rs +++ b/eth2/types/src/beacon_block.rs @@ -72,7 +72,7 @@ impl BeaconBlock { previous_block_root: self.previous_block_root, state_root: spec.zero_hash, block_body_root: Hash256::from_slice(&self.hash_tree_root()), - signature: self.signature, + signature: self.signature.clone(), } } }