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

fix: network modal missing version #1469

Merged
merged 7 commits into from
Dec 5, 2019

Conversation

alexbarnsley
Copy link
Member

Summary

The network version value wasn't being saved in previous wallet versions. This is a patch to re-populate the version from the network.

Checklist

  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged

@ghost ghost added Complexity: Low Less than 64 lines changed. Type: Bugfix The pull request fixes an incorrect functionality or behaviour. labels Sep 24, 2019
@codecov
Copy link

codecov bot commented Sep 24, 2019

Codecov Report

Merging #1469 into develop will decrease coverage by 0.05%.
The diff coverage is 92.3%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1469      +/-   ##
===========================================
- Coverage    45.87%   45.82%   -0.06%     
===========================================
  Files          274      274              
  Lines         6855     6865      +10     
  Branches      1343     1345       +2     
===========================================
+ Hits          3145     3146       +1     
- Misses        3548     3557       +9     
  Partials       162      162
Impacted Files Coverage Δ
src/renderer/components/Network/NetworkModal.vue 48.21% <92.3%> (-2.42%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 21b3a96...513bc4c. Read the comment docs.

.then(network => {
console.log('fetchNetworkConfig')
this.form.version = network.version.toString()
this.$error('Address Version was missing - please check your wallets')
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe move this to the locale file and remove debugging.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes you're right 🤔 will do it a bit later on. Thanks 👌

Copy link
Member Author

Choose a reason for hiding this comment

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

@stale
Copy link

stale bot commented Oct 30, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Status: Stale The pull request is in need of updates but there has not been a sufficient response. label Oct 30, 2019
@stale stale bot closed this Nov 6, 2019
@ghost ghost removed the Status: Stale The pull request is in need of updates but there has not been a sufficient response. label Nov 6, 2019
@alexbarnsley
Copy link
Member Author

oops

@alexbarnsley alexbarnsley reopened this Nov 6, 2019
@alexbarnsley alexbarnsley merged commit 09ec623 into develop Dec 5, 2019
@ghost ghost deleted the fix/network-modal-missing-version branch December 5, 2019 11:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Complexity: Low Less than 64 lines changed. Type: Bugfix The pull request fixes an incorrect functionality or behaviour.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants