Skip to content

Commit

Permalink
fix object index (MystenLabs#10774)
Browse files Browse the repository at this point in the history
## Description 

Describe the changes or additions included in this PR.

## Test Plan 

How did you test the new or updated feature?

---
If your changes are not user-facing and not a breaking change, you can
skip the following section. Otherwise, please indicate what changed, and
then add to the Release Notes section as highlighted during the release
process.

### Type of Change (Check all that apply)

- [ ] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes
  • Loading branch information
longbowlu authored Apr 12, 2023
1 parent bba5ada commit defb2ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/sui-core/src/authority.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1289,7 +1289,7 @@ impl AuthorityState {

let mut deleted_owners = vec![];
let mut deleted_dynamic_fields = vec![];
for (id, _, _) in effects.deleted() {
for ((id, _, _), _) in effects.all_deleted() {
let old_version = modified_at_version.get(id).unwrap();

match self.get_owner_at_version(id, *old_version)? {
Expand Down

0 comments on commit defb2ab

Please sign in to comment.