state-res: fix changed Signatures type in bench code

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-11-10 20:28:46 +00:00
parent dcf6d7e04a
commit 4546be5c8e

View File

@ -22,7 +22,7 @@ use js_int::{int, uint};
use maplit::{btreemap, hashmap, hashset}; use maplit::{btreemap, hashmap, hashset};
use ruma_common::{ use ruma_common::{
room_id, user_id, EventId, MilliSecondsSinceUnixEpoch, OwnedEventId, RoomId, RoomVersionId, room_id, user_id, EventId, MilliSecondsSinceUnixEpoch, OwnedEventId, RoomId, RoomVersionId,
UserId, Signatures, UserId,
}; };
use ruma_events::{ use ruma_events::{
pdu::{EventHash, Pdu, RoomV3Pdu}, pdu::{EventHash, Pdu, RoomV3Pdu},
@ -384,7 +384,7 @@ where
prev_events, prev_events,
depth: uint!(0), depth: uint!(0),
hashes: EventHash::new(String::new()), hashes: EventHash::new(String::new()),
signatures: btreemap! {}, signatures: Signatures::new(),
}), }),
}) })
} }