Skip to content

Commit

Permalink
Merge #2205: Fixed failing test. Fixed trace message content
Browse files Browse the repository at this point in the history
Fixed failing test. Fixed trace message content that was copied from elsewhere.
  • Loading branch information
stringhandler committed Sep 9, 2020
2 parents 6ba5c28 + 7ab2d8b commit cccda73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ where TBackend: TransactionBackend + Clone + 'static
() = delay => {
trace!(
target: LOG_TARGET,
"Transaction monitoring event 'time_out' for Mempool broadcast (Id: {}) ", self.id
"Chain monitoring protocol event 'time_out' triggered (Id: {}) ", self.id
);
break;
},
Expand Down
2 changes: 2 additions & 0 deletions base_layer/wallet/tests/transaction_service/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ pub fn setup_transaction_service<T: TransactionBackend + Clone + 'static, P: AsR
.add_initializer(TransactionServiceInitializer::new(
TransactionServiceConfig {
broadcast_monitoring_timeout: Duration::from_secs(5),
chain_monitoring_timeout: Duration::from_secs(5),
low_power_polling_timeout: Duration::from_secs(20),
..Default::default()
},
Expand Down Expand Up @@ -245,6 +246,7 @@ pub fn setup_transaction_service_no_comms<T: TransactionBackend + Clone + 'stati
let ts_service = TransactionService::new(
TransactionServiceConfig {
broadcast_monitoring_timeout: mined_request_timeout.unwrap_or(Duration::from_secs(5)),
chain_monitoring_timeout: Duration::from_secs(5),
direct_send_timeout: Duration::from_secs(5),
broadcast_send_timeout: Duration::from_secs(5),
low_power_polling_timeout: Duration::from_secs(15),
Expand Down

0 comments on commit cccda73

Please sign in to comment.