Skip to content

Commit

Permalink
refactor(iota-types): Remove has_public_transfer in move_object_to_sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
jkrvivian committed Oct 31, 2024
1 parent 8276b27 commit b5f7ee6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/iota-types/src/iota_sdk2_conversions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ fn sdk_package_to_move(package: MovePackage) -> crate::move_package::MovePackage
fn move_object_to_sdk(obj: crate::object::MoveObject) -> MoveStruct {
MoveStruct {
type_: move_object_type_to_sdk(obj.type_),
has_public_transfer: obj.has_public_transfer,
version: obj.version.value(),
contents: obj.contents,
}
Expand All @@ -153,7 +152,6 @@ fn move_object_to_sdk(obj: crate::object::MoveObject) -> MoveStruct {
fn sdk_object_to_move(obj: MoveStruct) -> crate::object::MoveObject {
crate::object::MoveObject {
type_: sdk_object_type_to_move(obj.type_),
has_public_transfer: obj.has_public_transfer,
version: obj.version.into(),
contents: obj.contents,
}
Expand Down

0 comments on commit b5f7ee6

Please sign in to comment.