Skip to content

Commit

Permalink
Fix bug in load_initial_object_debts (#20002)
Browse files Browse the repository at this point in the history
## Test plan 

Follow-up PR

---

## Release notes

Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.

For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.

- [ ] Protocol: 
- [ ] Nodes (Validators and Full nodes): 
- [ ] Indexer: 
- [ ] JSON-RPC: 
- [ ] GraphQL: 
- [ ] CLI: 
- [ ] Rust SDK:
- [ ] REST API:
  • Loading branch information
aschran authored Oct 24, 2024
1 parent 6b69012 commit 0de6c86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/sui-core/src/authority/authority_per_epoch_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -795,8 +795,8 @@ impl AuthorityEpochTables {
Ok(table
.multi_get(shared_input_object_ids.iter())?
.into_iter()
.flatten()
.zip(shared_input_object_ids)
.filter_map(|(debt, object_id)| debt.map(|debt| (debt, object_id)))
.map(move |(debt, object_id)| {
let (round, debt) = debt.into_v1();
(
Expand Down

0 comments on commit 0de6c86

Please sign in to comment.