Skip to content

Conversation

@Jon-edge
Copy link
Collaborator

@Jon-edge Jon-edge commented Dec 24, 2024

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Requirements

If you have made any visual changes to the GUI. Make sure you have:

  • Tested on iOS device
  • Tested on Android device
  • Tested on small-screen device (iPod Touch)
  • Tested on large-screen device (tablet)

Copy link
Contributor

@swansontec swansontec left a comment

Choose a reason for hiding this comment

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

This makes sense

// Try to parse with all wallets
for (const wallet of Object.values(currencyWallets)) {
// Ignore disabled wallets:
if (SPECIAL_CURRENCY_INFO[wallet.currencyInfo.pluginId].keysOnlyMode) return
Copy link
Contributor

Choose a reason for hiding this comment

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

Since keysOnlyMode can be undefined, we should do const { keysOnlyMode = false } = SPECIAL_CURRENCY_INFO, and then you can do if (keysOnlyMode) on the next line. That makes the default value explicit.

@Jon-edge Jon-edge force-pushed the jon/fix/deprecated-scan branch from 2cf8164 to a4208e2 Compare December 26, 2024 00:01
@Jon-edge Jon-edge enabled auto-merge December 26, 2024 00:01
@Jon-edge Jon-edge disabled auto-merge December 26, 2024 00:09
@Jon-edge Jon-edge force-pushed the jon/fix/deprecated-scan branch from a4208e2 to ea4a5d3 Compare December 26, 2024 00:10
@Jon-edge Jon-edge enabled auto-merge December 26, 2024 00:14
@Jon-edge Jon-edge merged commit f972f5c into develop Dec 26, 2024
2 checks passed
@Jon-edge Jon-edge deleted the jon/fix/deprecated-scan branch December 26, 2024 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants