Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #3401 from LN-Zap/fix/missing-transaction-confirms
Browse files Browse the repository at this point in the history
Display transaction as unconfirmed if confs less than min finality
  • Loading branch information
mrfelton committed Mar 24, 2020
2 parents 404a454 + ffffd88 commit 9c6a39d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renderer/components/Activity/Transaction/Transaction.js
Expand Up @@ -38,7 +38,7 @@ const Transaction = ({

// returns color for the current number of confirmations
const getDisplayParams = () =>
findLast(DISPLAY_PARAMS, ({ finality }) => num_confirmations >= finality)
findLast(DISPLAY_PARAMS, ({ finality }) => num_confirmations >= finality) || DISPLAY_PARAMS[0]

if (num_confirmations > confirmed) {
return (
Expand Down

0 comments on commit 9c6a39d

Please sign in to comment.