File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
crates/iota-sdk-ffi/src/types Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ impl From<iota_types::CheckpointSummary> for CheckpointSummary {
92
92
network_total_transactions : value. network_total_transactions ,
93
93
content_digest : Arc :: new ( value. content_digest . into ( ) ) ,
94
94
previous_digest : value. previous_digest . map ( Into :: into) . map ( Arc :: new) ,
95
- epoch_rolling_gas_cost_summary : value. epoch_rolling_gas_cost_summary . into ( ) ,
95
+ epoch_rolling_gas_cost_summary : value. epoch_rolling_gas_cost_summary ,
96
96
timestamp_ms : value. timestamp_ms ,
97
97
checkpoint_commitments : value
98
98
. checkpoint_commitments
@@ -114,7 +114,7 @@ impl From<CheckpointSummary> for iota_types::CheckpointSummary {
114
114
network_total_transactions : value. network_total_transactions ,
115
115
content_digest : * * value. content_digest ,
116
116
previous_digest : value. previous_digest . map ( |v| * * v) ,
117
- epoch_rolling_gas_cost_summary : value. epoch_rolling_gas_cost_summary . into ( ) ,
117
+ epoch_rolling_gas_cost_summary : value. epoch_rolling_gas_cost_summary ,
118
118
timestamp_ms : value. timestamp_ms ,
119
119
checkpoint_commitments : value
120
120
. checkpoint_commitments
Original file line number Diff line number Diff line change @@ -45,8 +45,8 @@ impl From<TransactionMetadata> for iota_graphql_client::query_types::Transaction
45
45
. gas_objects
46
46
. map ( |v| v. into_iter ( ) . map ( |o| o. 0 . clone ( ) ) . collect ( ) ) ,
47
47
gas_price : value. gas_price ,
48
- gas_sponsor : value. gas_sponsor . map ( |a| a. 0 . clone ( ) ) ,
49
- sender : value. sender . map ( |a| a. 0 . clone ( ) ) ,
48
+ gas_sponsor : value. gas_sponsor . map ( |a| a. 0 ) ,
49
+ sender : value. sender . map ( |a| a. 0 ) ,
50
50
}
51
51
}
52
52
}
@@ -171,7 +171,7 @@ impl From<EventFilter> for iota_graphql_client::query_types::EventFilter {
171
171
Self {
172
172
emitting_module : value. emitting_module ,
173
173
event_type : value. event_type ,
174
- sender : value. sender . map ( |s| s. 0 . clone ( ) ) ,
174
+ sender : value. sender . map ( |s| s. 0 ) ,
175
175
transaction_digest : value. transaction_digest ,
176
176
}
177
177
}
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ impl Transaction {
34
34
kind : kind. 0 . clone ( ) ,
35
35
sender : * * sender,
36
36
gas_payment : gas_payment. into ( ) ,
37
- expiration : expiration. 0 . clone ( ) ,
37
+ expiration : expiration. 0 ,
38
38
} )
39
39
}
40
40
You can’t perform that action at this time.
0 commit comments