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

Shared: Fix extra parameter in fn call when reattaching and promoting #1503

Merged
merged 1 commit into from
May 13, 2019

Conversation

rajivshah3
Copy link
Member

Description

syncAccountAfterReattachment was called with an extra parameter when reattaching and promoting a transaction. This resulted in an error that said accountState.transactions is not iterable or Cannot read property 'Symbol(Symbol.iterator)' of undefined.

Type of change

  • Bug fix (a non-breaking change which fixes an issue)

How Has This Been Tested?

  • Tested on macOS (debug)

Checklist:

  • My code follows the style guidelines for this project
  • I have performed a self-review of my own code
  • New and existing unit tests pass locally with my changes
  • For changes to shared: If applicable, I have verified that my changes are implemented correctly in desktop and mobile

@rajivshah3 rajivshah3 added T - Bug Type - Bug: Something isn't working C - Shared L - Need reviews Lifecycle - Each PR must have at least two reviewers P2 - High Priority - Prefer to fix or merge this labels May 12, 2019
@rajivshah3 rajivshah3 requested a review from laumair May 12, 2019 20:38
Copy link
Contributor

@laumair laumair left a comment

Choose a reason for hiding this comment

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

LGTM!

@laumair laumair merged commit 6353f4a into develop May 13, 2019
rihardsgravis pushed a commit that referenced this pull request May 13, 2019
* develop:
  Shared: Fix extra parameter in fn call when reattaching and promoting (#1503)
  Mobile: Bump handlebars to 4.1.2 (#1454)
  Mobile/iOS: Patch react-native run-ios (#1505)
  Bump url-parse from 1.4.3 to 1.4.7 in /src/shared (#1453)
  Bump proxy-polyfill from 9c009d7 to 0.3.0 in /src/shared (#1449)
  Bump snyk from 1.163.1 to 1.163.3 (#1499)
  Bump react-transition-group from 4.0.0 to 4.0.1 in /src/desktop (#1497)
  - Update Bugsnag dependency usage (#1493)
  Bump snyk from 1.163.0 to 1.163.1 (#1495)

# Conflicts:
#	src/desktop/src/index.js
#	src/shared/store.js
rihardsgravis pushed a commit that referenced this pull request May 13, 2019
* develop:
  Bump react-dev-utils from 9.0.0 to 9.0.1 in /src/desktop (#1490)
  Bump electron-builder from 20.39.0 to 20.40.2 in /src/desktop (#1496)
  Bump webpack from 4.30.0 to 4.31.0 in /src/desktop (#1500)
  Shared: Fix extra parameter in fn call when reattaching and promoting (#1503)
  Mobile: Bump handlebars to 4.1.2 (#1454)
  Mobile/iOS: Patch react-native run-ios (#1505)
  Bump url-parse from 1.4.3 to 1.4.7 in /src/shared (#1453)
  Bump proxy-polyfill from 9c009d7 to 0.3.0 in /src/shared (#1449)
  Bump snyk from 1.163.1 to 1.163.3 (#1499)
  Bump react-transition-group from 4.0.0 to 4.0.1 in /src/desktop (#1497)
  - Update Bugsnag dependency usage (#1493)
  Bump snyk from 1.163.0 to 1.163.1 (#1495)

# Conflicts:
#	src/desktop/bugsnag.js
#	src/desktop/npm-shrinkwrap.json
#	src/desktop/package.json
#	src/shared/store.js
@rajivshah3 rajivshah3 deleted the fix/sync-after-reattach branch May 13, 2019 15:08
This was referenced May 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
C - Shared L - Need reviews Lifecycle - Each PR must have at least two reviewers P2 - High Priority - Prefer to fix or merge this T - Bug Type - Bug: Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants