Move shortstatehash queries from state_accessor to state service.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -40,7 +40,7 @@ where
|
||||
|
||||
let Ok(prev_event_sstatehash) = self
|
||||
.services
|
||||
.state_accessor
|
||||
.state
|
||||
.pdu_shortstatehash(prev_event_id)
|
||||
.await
|
||||
else {
|
||||
@@ -105,7 +105,7 @@ where
|
||||
|
||||
let sstatehash = self
|
||||
.services
|
||||
.state_accessor
|
||||
.state
|
||||
.pdu_shortstatehash(prev_event_id);
|
||||
|
||||
try_join(sstatehash, prev_event)
|
||||
|
||||
Reference in New Issue
Block a user