Skip to content

Commit

Permalink
Fix struct_handles to datatype_handles rename in move-bytecode-templa…
Browse files Browse the repository at this point in the history
…te (#17954)

## Description 

Describe the changes or additions included in this PR.

## Test plan 

How did you test the new or updated feature?

---

## 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:
  • Loading branch information
hayes-mysten authored May 28, 2024
1 parent fea9bdb commit bb7e055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/move-bytecode-template/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ pub fn update_identifiers(binary: &[u8], map: JsValue) -> Result<Box<[u8]>, JsEr
});

compiled_module
.struct_handles
.datatype_handles
.iter_mut()
.for_each(|handle| {
handle.name.0 = find_pos(handle.name.0);
Expand Down

0 comments on commit bb7e055

Please sign in to comment.