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

Commit

Permalink
Merge pull request #11496 from bsclifton/fix-qr-code
Browse files Browse the repository at this point in the history
Fix QR codes not displaying for new wallets
  • Loading branch information
bsclifton authored Oct 13, 2017
2 parents b4da147 + 6c52983 commit 0541557
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/browser/api/ledger.js
Original file line number Diff line number Diff line change
Expand Up @@ -1718,15 +1718,10 @@ const onWalletProperties = (state, body) => {
// unconfirmed amount
const unconfirmed = parseFloat(body.get('unconfirmed'))
if (unconfirmed >= 0) {
if (ledgerState.getInfoProp(state, 'unconfirmed') === unconfirmed) {
return state
}

state = ledgerState.setInfoProp(state, 'unconfirmed', unconfirmed)
if (clientOptions.verboseP) {
console.log('\ngetBalance refreshes ledger info: ' + ledgerState.getInfoProp(state, 'unconfirmed'))
}
return state
}

if (clientOptions.verboseP) {
Expand Down

0 comments on commit 0541557

Please sign in to comment.