Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Fixes qr code when it is new #12593

Merged
merged 1 commit into from
Jan 11, 2018
Merged

Conversation

NejcZdovc
Copy link
Contributor

@NejcZdovc NejcZdovc commented Jan 10, 2018

Submitter Checklist:

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Added/updated tests for this change (for new code or code which already has tests).
  • Ran git rebase -i to squash commits (if needed).
  • Tagged reviewers and labelled the pull request as needed.
  • Request a security/privacy review as needed. (Ask a Brave employee to help if you cannot access this document.)

Resolves #12592

Auditors:

Test Plan: defined in #12592

Reviewer Checklist:

  • Request a security/privacy review as needed if one was not already requested.

Tests

  • Adequate test coverage exists to prevent regressions
  • Tests should be independent and work correctly when run individually or as a suite ref
  • New files have MPL2 license header

@NejcZdovc NejcZdovc added this to the 0.20.x (Beta Channel) milestone Jan 10, 2018
@NejcZdovc NejcZdovc self-assigned this Jan 10, 2018
@codecov-io
Copy link

codecov-io commented Jan 10, 2018

Codecov Report

Merging #12593 into master will increase coverage by 0.1%.
The diff coverage is 58.33%.

@@            Coverage Diff            @@
##           master   #12593     +/-   ##
=========================================
+ Coverage   56.08%   56.19%   +0.1%     
=========================================
  Files         278      278             
  Lines       27078    27090     +12     
  Branches     4385     4387      +2     
=========================================
+ Hits        15187    15223     +36     
+ Misses      11891    11867     -24
Flag Coverage Δ
#unittest 56.19% <58.33%> (+0.1%) ⬆️
Impacted Files Coverage Δ
app/browser/api/ledger.js 55.19% <58.33%> (+1.5%) ⬆️

LaurenWags
LaurenWags previously approved these changes Jan 10, 2018
Copy link
Member

@LaurenWags LaurenWags left a comment

Choose a reason for hiding this comment

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

++ Tests were as expected

const newAddress = result.getIn(['properties', 'wallet', 'addresses', 'BAT'])
const oldAddress = ledgerState.getInfoProps(state).getIn(['addresses', 'BAT'])

console.log(newAddress, oldAddress)
Copy link
Member

Choose a reason for hiding this comment

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

whoops- looks like you left a console log in there 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

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

console removed

bsclifton
bsclifton previously approved these changes Jan 11, 2018
Copy link
Member

@bsclifton bsclifton left a comment

Choose a reason for hiding this comment

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

comment left- otherwise looks good! 😄 👍

oh- and needs rebase 😛

Resolves brave#12592

Auditors:

Test Plan:
Copy link
Member

@bsclifton bsclifton left a comment

Choose a reason for hiding this comment

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

++

@bsclifton bsclifton merged commit 1181d07 into brave:master Jan 11, 2018
bsclifton added a commit that referenced this pull request Jan 11, 2018
bsclifton added a commit that referenced this pull request Jan 11, 2018
@bsclifton
Copy link
Member

master 1181d07
0.21.x 52e6c73
0.20.x f679930

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants