Skip to content

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hansieodendaal committed Oct 19, 2023
1 parent 4caa193 commit 8e46cc5
Show file tree
Hide file tree
Showing 6 changed files with 277 additions and 140 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,6 @@ impl TransactionsTab {
let status = Span::styled(status_msg, Style::default().fg(Color::White));
let message = Span::styled(tx.message.as_str(), Style::default().fg(Color::White));

// let mined_time = DateTime::<Local>::from_utc(tx.mined_timestamp, Local::now().offset().to_owned());
let mined_timestamp = Span::styled(
match tx.mined_timestamp {
None => String::new(),
Expand All @@ -398,7 +397,6 @@ impl TransactionsTab {
.format("%Y-%m-%d %H:%M:%S")
),
},
// format!("{}", mined_time.format("%Y-%m-%d %H:%M:%S")),
Style::default().fg(Color::White),
);

Expand Down
2 changes: 2 additions & 0 deletions base_layer/core/src/base_node/proto/rpc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ message FindChainSplitResponse {
uint64 fork_hash_index = 2;
// The current header height of this node
uint64 tip_height = 3;
// The current geometric mean of the pow of the chain tip, or `None` if there is no chain
bytes accumulated_difficulty = 4;
}

message SyncKernelsRequest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ impl HeaderSyncState {
StateEvent::HeadersSynchronized(sync_peer, sync_result)
},
Err(err) => {
println!("HeaderSyncState::next_event - {}", err);
let _ignore = shared.status_event_sender.send(StatusInfo {
bootstrapped,
state_info: StateInfo::SyncFailed("HeaderSyncFailed".to_string()),
Expand Down
Loading

0 comments on commit 8e46cc5

Please sign in to comment.