File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
crates/iota-rust-sdk/src/types Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -642,9 +642,7 @@ mod serialization {
642642 } ) ,
643643 (
644644 ObjectType :: Struct ( type_) ,
645- ReadableObjectData :: Move ( ReadableMoveStruct {
646- contents,
647- } ) ,
645+ ReadableObjectData :: Move ( ReadableMoveStruct { contents } ) ,
648646 ) => {
649647 // check id matches in contents
650648 if !id_opt ( & contents) . is_some_and ( |id| id == object_id) {
@@ -798,9 +796,7 @@ mod serialization {
798796 } ) ,
799797 (
800798 ObjectType :: Struct ( type_) ,
801- ReadableObjectData :: Move ( ReadableMoveStruct {
802- contents,
803- } ) ,
799+ ReadableObjectData :: Move ( ReadableMoveStruct { contents } ) ,
804800 ) => {
805801 // check id matches in contents
806802 if !id_opt ( & contents) . is_some_and ( |id| id == object_id) {
You can’t perform that action at this time.
0 commit comments