Improve RLP encoding of Block

This commit is contained in:
Paul Hauner 2018-07-09 16:52:55 +10:00
parent 54df5c71f5
commit dcb8fff9f2

View File

@ -46,8 +46,8 @@ impl Block {
s.append(&self.skip_count); s.append(&self.skip_count);
s.append(&self.randao_reveal); s.append(&self.randao_reveal);
s.append(&self.attestation_bitfield); s.append(&self.attestation_bitfield);
// TODO: represent attestation_aggregate_sig // s.append(&self.attestation_aggregate_sig); // TODO: RLP this
// TODO: represent shard_aggregate_votes s.append_list(&self.shard_aggregate_votes);
s.append(&self.main_chain_ref); s.append(&self.main_chain_ref);
s.append(&self.state_hash); s.append(&self.state_hash);
let rlp_vec = s.out(); let rlp_vec = s.out();