From 08e79cccbcdcbbc7630448ed22302e3a677d9ce1 Mon Sep 17 00:00:00 2001 From: tbro Date: Tue, 30 Jul 2024 18:47:22 +0300 Subject: [PATCH] typo --- types/src/v0/impls/state.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/src/v0/impls/state.rs b/types/src/v0/impls/state.rs index b7959355c..4596ae18c 100644 --- a/types/src/v0/impls/state.rs +++ b/types/src/v0/impls/state.rs @@ -1022,7 +1022,7 @@ mod test { let parent = Leaf::genesis(&instance_state.genesis_state, &instance_state).await; let header = parent.block_header().clone(); - let metatdata = parent.block_header().metadata(); + let metadata = parent.block_header().metadata(); let vid_commitment = parent.payload_commitment(); dbg!(header.version()); @@ -1040,7 +1040,7 @@ mod test { .unwrap(); // test v1 sig - let sig = FeeAccount::sign_fee(&key_pair, data, metatdata, &vid_commitment).unwrap(); + let sig = FeeAccount::sign_fee(&key_pair, data, metadata, &vid_commitment).unwrap(); let header = match header { Header::V1(header) => Header::V1(v0_1::Header {