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 {
9292 network_total_transactions : value. network_total_transactions ,
9393 content_digest : Arc :: new ( value. content_digest . into ( ) ) ,
9494 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 ,
9696 timestamp_ms : value. timestamp_ms ,
9797 checkpoint_commitments : value
9898 . checkpoint_commitments
@@ -114,7 +114,7 @@ impl From<CheckpointSummary> for iota_types::CheckpointSummary {
114114 network_total_transactions : value. network_total_transactions ,
115115 content_digest : * * value. content_digest ,
116116 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 ,
118118 timestamp_ms : value. timestamp_ms ,
119119 checkpoint_commitments : value
120120 . 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
4545 . gas_objects
4646 . map ( |v| v. into_iter ( ) . map ( |o| o. 0 . clone ( ) ) . collect ( ) ) ,
4747 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 ) ,
5050 }
5151 }
5252}
@@ -171,7 +171,7 @@ impl From<EventFilter> for iota_graphql_client::query_types::EventFilter {
171171 Self {
172172 emitting_module : value. emitting_module ,
173173 event_type : value. event_type ,
174- sender : value. sender . map ( |s| s. 0 . clone ( ) ) ,
174+ sender : value. sender . map ( |s| s. 0 ) ,
175175 transaction_digest : value. transaction_digest ,
176176 }
177177 }
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ impl Transaction {
3434 kind : kind. 0 . clone ( ) ,
3535 sender : * * sender,
3636 gas_payment : gas_payment. into ( ) ,
37- expiration : expiration. 0 . clone ( ) ,
37+ expiration : expiration. 0 ,
3838 } )
3939 }
4040
You can’t perform that action at this time.
0 commit comments