fix(primitives): Handle alonzo headers without prev-hash (#164)

This commit is contained in:
Santiago Carmuega 2022-08-06 19:19:31 -03:00 committed by GitHub
parent 3999c39166
commit c7852a17c2
3 changed files with 25 additions and 3 deletions

View file

@ -21,7 +21,7 @@ pub struct HeaderBody {
pub slot: u64,
#[n(2)]
pub prev_hash: Hash<32>,
pub prev_hash: Option<Hash<32>>,
#[n(3)]
pub issuer_vkey: ByteVec,