File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
mithril-common/src/messages Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ pub struct VerifiedCardanoTransactions {
53
53
certificate_hash : String ,
54
54
merkle_root : String ,
55
55
certified_transactions : Vec < TransactionHash > ,
56
+ latest_immutable_file_number : u64 ,
56
57
}
57
58
58
59
impl VerifiedCardanoTransactions {
@@ -167,6 +168,7 @@ impl CardanoTransactionsProofsMessage {
167
168
. iter ( )
168
169
. flat_map ( |c| c. transactions_hashes . clone ( ) )
169
170
. collect ( ) ,
171
+ latest_immutable_file_number : self . latest_immutable_file_number ,
170
172
} )
171
173
}
172
174
}
@@ -225,6 +227,7 @@ mod tests {
225
227
certificate_hash : "whatever" . to_string ( ) ,
226
228
merkle_root : set_proof. merkle_root ( ) ,
227
229
certified_transactions : set_proof. transactions_hashes ( ) . to_vec ( ) ,
230
+ latest_immutable_file_number : 99999 ,
228
231
} ;
229
232
let txs_proofs = CardanoTransactionsProofsMessage :: new (
230
233
"whatever" ,
You can’t perform that action at this time.
0 commit comments