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

fix: do not show tx notifications for contacts #915

Merged
merged 3 commits into from Dec 31, 2018

Conversation

ItsANameToo
Copy link
Member

Proposed changes

Transaction notifications would also show for contacts, which it shouldn't do

Types of changes

  • Bugfix (non-breaking change which fixes an issue)

Checklist

  • I have read the CONTRIBUTING documentation
  • Lint and unit tests pass locally with my changes

translation: 'SYNCHRONIZER.NEW_SECOND_SIGNATURE',
options: {
address: truncateMiddle(wallet.address)
if (!wallet.isContact) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think instead of all the indenting, just do the below at the top:

if (wallet.isContact) {
  return
}

@alexbarnsley alexbarnsley merged commit d7dc12d into develop Dec 31, 2018
@alexbarnsley alexbarnsley deleted the fix/contact-tx-notification branch December 31, 2018 22:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants