mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-17 04:48:21 +00:00
Fix borrow issue in BeaconBlock
This commit is contained in:
@@ -72,7 +72,7 @@ impl BeaconBlock {
|
|||||||
previous_block_root: self.previous_block_root,
|
previous_block_root: self.previous_block_root,
|
||||||
state_root: spec.zero_hash,
|
state_root: spec.zero_hash,
|
||||||
block_body_root: Hash256::from_slice(&self.hash_tree_root()),
|
block_body_root: Hash256::from_slice(&self.hash_tree_root()),
|
||||||
signature: self.signature,
|
signature: self.signature.clone(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user