mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-19 22:08:30 +00:00
Simplifies the boolean-bitfield implementation to use bit-vec crate
This commit is contained in:
@@ -31,7 +31,7 @@ impl Encodable for AttestationRecord {
|
||||
s.append(&self.shard_id);
|
||||
s.append_vec(&self.oblique_parent_hashes);
|
||||
s.append(&self.shard_block_hash);
|
||||
s.append_vec(&self.attester_bitfield.to_be_vec());
|
||||
s.append_vec(&self.attester_bitfield.to_bytes());
|
||||
s.append(&self.justified_slot);
|
||||
s.append(&self.justified_block_hash);
|
||||
s.append_vec(&self.aggregate_sig.as_bytes());
|
||||
|
||||
Reference in New Issue
Block a user