From 70430ef4b5c63691e0a15fa864c22645e3654498 Mon Sep 17 00:00:00 2001 From: Tom Kirkpatrick Date: Sun, 12 Apr 2020 18:32:50 +0200 Subject: [PATCH] fix(wallet): correct system notification for received transaction --- renderer/reducers/transaction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderer/reducers/transaction.js b/renderer/reducers/transaction.js index 5f711539eca..66331dd4a15 100644 --- a/renderer/reducers/transaction.js +++ b/renderer/reducers/transaction.js @@ -248,7 +248,7 @@ export const receiveTransactionData = transaction => (dispatch, getState) => { dispatch(fetchChannels()) const intl = getIntl() // HTML 5 desktop notification for the new transaction - if (transaction.isReceived) { + if (CoinBig(transaction.amount).gt(0)) { showSystemNotification(intl.formatMessage(messages.transaction_received_title), { body: intl.formatMessage(messages.transaction_received_body), })