Skip to content

Commit

Permalink
fix: show mined timestamp for import tx (#5012)
Browse files Browse the repository at this point in the history
Description
---
Don't show the current time for an import, rather show the mined timestamp

Motivation and Context
---
Fixes: #4923
  • Loading branch information
SWvheerden committed Dec 8, 2022
1 parent f418d73 commit 49a11d9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ where T: TransactionBackend + 'static
),
TransactionStatus::try_from(import_status)?,
message,
Utc::now().naive_utc(),
mined_timestamp.unwrap_or(Utc::now().naive_utc()),
TransactionDirection::Inbound,
maturity,
current_height,
Expand Down

0 comments on commit 49a11d9

Please sign in to comment.