File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1084,8 +1084,8 @@ impl DependenciesBuilder {
1084
1084
self . get_transaction_parser ( ) . await ?,
1085
1085
self . get_transaction_store ( ) . await ?,
1086
1086
& self . configuration . db_directory ,
1087
- // Rescan the last two immutables when importing transactions
1088
- Some ( 2 ) ,
1087
+ // Rescan the last immutable when importing transactions, it may have been partially imported
1088
+ Some ( 1 ) ,
1089
1089
self . get_logger ( ) . await ?,
1090
1090
) ) ;
1091
1091
let cardano_transactions_builder = Arc :: new ( CardanoTransactionsSignableBuilder :: new (
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ impl CardanoTransactionsImporter {
40
40
/// Constructor
41
41
///
42
42
/// About `rescan_offset`: if Some(x) the importer will be asked to rescan the previous 'x'
43
- /// immutables starting from the highest immutable known in the store.
43
+ /// immutables starting after the highest immutable known in the store.
44
44
/// This is useful when one of the last immutable was not full scanned.
45
45
pub fn new (
46
46
transaction_parser : Arc < dyn TransactionParser > ,
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ impl CardanoTransactionsImporter {
40
40
/// Constructor
41
41
///
42
42
/// About `rescan_offset`: if Some(x) the importer will be asked to rescan the previous 'x'
43
- /// immutables starting from the highest immutable known in the store.
43
+ /// immutables starting after the highest immutable known in the store.
44
44
/// This is useful when one of the last immutable was not full scanned.
45
45
pub fn new (
46
46
transaction_parser : Arc < dyn TransactionParser > ,
Original file line number Diff line number Diff line change @@ -280,8 +280,8 @@ impl<'a> ServiceBuilder for ProductionServiceBuilder<'a> {
280
280
transaction_parser,
281
281
transaction_store,
282
282
& self . config . db_directory ,
283
- // Rescan the last two immutables when importing transactions
284
- Some ( 2 ) ,
283
+ // Rescan the last immutable when importing transactions, it may have been partially imported
284
+ Some ( 1 ) ,
285
285
slog_scope:: logger ( ) ,
286
286
) ;
287
287
let cardano_transactions_builder = Arc :: new ( CardanoTransactionsSignableBuilder :: new (
You can’t perform that action at this time.
0 commit comments