Skip to content

Commit

Permalink
fix(wallet): minor wording fix on transactions tab
Browse files Browse the repository at this point in the history
  • Loading branch information
sdbondi committed Feb 18, 2022
1 parent c8ebe5b commit d832e76
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -479,15 +479,15 @@ impl<B: Backend> Component<B> for TransactionsTab {
" Up↑/Down↓",
Style::default().add_modifier(Modifier::BOLD),
));
span_vec.push(Span::raw(" selects Tx, "));
span_vec.push(Span::styled("C", Style::default().add_modifier(Modifier::BOLD)));
span_vec.push(Span::raw(" cancels selected Pending Tx, "));
span_vec.push(Span::styled("A", Style::default().add_modifier(Modifier::BOLD)));
span_vec.push(Span::raw(" shows abandoned coinbase Txs, "));
span_vec.push(Span::styled("R", Style::default().add_modifier(Modifier::BOLD)));
span_vec.push(Span::raw(" rebroadcast all Broadcast, "));
span_vec.push(Span::styled("Esc", Style::default().add_modifier(Modifier::BOLD)));
span_vec.push(Span::raw(" exits list."));
span_vec.push(Span::raw(" select Tx "));
span_vec.push(Span::styled("(C)", Style::default().add_modifier(Modifier::BOLD)));
span_vec.push(Span::raw(" cancel selected pending Txs "));
span_vec.push(Span::styled("(A)", Style::default().add_modifier(Modifier::BOLD)));
span_vec.push(Span::raw(" show/hide abandoned coinbases "));
span_vec.push(Span::styled("(R)", Style::default().add_modifier(Modifier::BOLD)));
span_vec.push(Span::raw(" rebroadcast Txs "));
span_vec.push(Span::styled("(Esc)", Style::default().add_modifier(Modifier::BOLD)));
span_vec.push(Span::raw(" exit list"));

let instructions = Paragraph::new(Spans::from(span_vec)).wrap(Wrap { trim: false });
f.render_widget(instructions, areas[1]);
Expand Down
2 changes: 0 additions & 2 deletions base_layer/wallet/src/connectivity_service/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,8 @@ impl WalletConnectivityService {
}

async fn check_connection(&mut self) {
debug!(target: LOG_TARGET, "HERE1");
match self.pools.as_ref() {
Some(pool) => {
debug!(target: LOG_TARGET, "HERE2");
if !pool.base_node_wallet_rpc_client.is_connected().await {
debug!(target: LOG_TARGET, "Peer connection lost. Attempting to reconnect...");
self.set_online_status(OnlineStatus::Offline);
Expand Down

0 comments on commit d832e76

Please sign in to comment.