Skip to content

Commit 1a1f1e1

Browse files
committed
Merge branch 'header-sync'
2 parents 005565d + bfb7235 commit 1a1f1e1

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- Gracefully shut down Electrum connections upon closing the app
88
- Show the selected coin's address on the confirmation screen
99
- Fetch balances of multiple ETH accounts at the same time, instead of one by one.
10+
- Fix wrong btc/ltc transaction timestamp during header sync
1011

1112
## v4.48.3
1213
- Linux: fix compatiblity with some versions of Mesa also when using the AppImage

backend/coins/btc/handlers/handlers.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,6 @@ func (handlers *Handlers) getTxInfoJSON(txInfo *accounts.TransactionData, detail
140140
amount := txInfo.Amount.FormatWithConversions(handlers.account.Coin(), false, accountConfig.RateUpdater)
141141
var formattedTime *string
142142
timestamp := txInfo.Timestamp
143-
if timestamp == nil {
144-
timestamp = txInfo.CreatedTimestamp
145-
}
146143

147144
deductedAmountAtTime := txInfo.DeductedAmount.FormatWithConversionsAtTime(handlers.account.Coin(), timestamp, accountConfig.RateUpdater)
148145
amountAtTime := txInfo.Amount.FormatWithConversionsAtTime(handlers.account.Coin(), timestamp, accountConfig.RateUpdater)

0 commit comments

Comments
 (0)