flatten state accessor iterations
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
ad0b0af955
commit
af399fd517
18 changed files with 205 additions and 181 deletions
|
@ -624,8 +624,8 @@ impl Service {
|
|||
.services
|
||||
.state_accessor
|
||||
.state_full_ids(current_shortstatehash)
|
||||
.await
|
||||
.map_err(|e| err!(Database("State in space not found: {e}")))?;
|
||||
.collect()
|
||||
.await;
|
||||
|
||||
let mut children_pdus = Vec::with_capacity(state.len());
|
||||
for (key, id) in state {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue