Fix borrow issue in BeaconBlock

This commit is contained in:
Paul Hauner 2019-03-16 14:32:07 +11:00
parent 6ae5d34d0f
commit 33783d4baa
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6

View File

@ -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(),
}
}
}