File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ use std::collections::{HashMap, HashSet};
1818use std:: mem;
1919use std:: sync:: Arc ;
2020
21- use ctypes:: transaction:: ShardTransaction ;
2221use kvdb:: { DBTransaction , KeyValueDB } ;
2322use parking_lot:: { Mutex , RwLock } ;
2423use primitives:: { Bytes , H256 } ;
@@ -347,9 +346,9 @@ fn transaction_address_entries(
347346 parcel_hashes : impl IntoIterator < Item = UnverifiedTransaction > ,
348347) -> impl Iterator < Item = TransactionHashAndAddress > {
349348 parcel_hashes. into_iter ( ) . enumerate ( ) . filter_map ( move |( parcel_index, parcel) | {
350- Option :: < ShardTransaction > :: from ( parcel. action . clone ( ) ) . map ( |tx | {
349+ parcel. tracker ( ) . map ( |tracker | {
351350 (
352- tx . tracker ( ) ,
351+ tracker,
353352 TransactionAddresses :: new ( TransactionAddress {
354353 block_hash,
355354 index : parcel_index,
You can’t perform that action at this time.
0 commit comments