mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-04 02:04:28 +00:00
Fix borrow issue in BeaconBlock
This commit is contained in:
parent
6ae5d34d0f
commit
33783d4baa
@ -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(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user