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

fix: business, bridgechain & delegate tweaks #1667

Merged
merged 17 commits into from
Feb 18, 2020

Conversation

alexbarnsley
Copy link
Member

@alexbarnsley alexbarnsley commented Feb 11, 2020

Summary

  • Fixes typos for Business & Bridgechain name validation
  • Fixes typos for successful Business & Bridgechain transaction creation messages
  • Fixes bug where Business Resign button shows for non-business wallets
  • Fixes bug where Business Resign button shows for resigned business
  • Fixes bug where Delegate Resign button shows for resigned delegates

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 Feb 11, 2020
@codecov
Copy link

codecov bot commented Feb 11, 2020

Codecov Report

Merging #1667 into develop will increase coverage by 0.11%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1667      +/-   ##
===========================================
+ Coverage    62.97%   63.08%   +0.11%     
===========================================
  Files          135      135              
  Lines         3681     3684       +3     
  Branches       776      777       +1     
===========================================
+ Hits          2318     2324       +6     
+ Misses        1138     1135       -3     
  Partials       225      225              
Impacted Files Coverage Δ
src/renderer/services/wallet.js 96.29% <0.00%> (+6.10%) ⬆️

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 7250665...85745c7. Read the comment docs.

@alexbarnsley alexbarnsley changed the title fix: business & bridgechain tweaks fix: business, bridgechain & delegate tweaks Feb 14, 2020
@dav1app dav1app self-requested a review February 17, 2020 21:38
@@ -127,7 +127,6 @@ export default class WalletService {
* @returns {Boolean}
*/
static canResignDelegate (wallet) {
console.log('canResignDelegate', wallet)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why we don't have a debug mode?

Copy link
Member Author

Choose a reason for hiding this comment

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

That was debug code I added during development. Leaving stuff like that in would make the code messy. We use logger.$error for some areas where it might be useful (e.g. a try/catch) but that's all.

Copy link
Contributor

Choose a reason for hiding this comment

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

It has already been removed!

@alexbarnsley alexbarnsley merged commit 3e7506e into develop Feb 18, 2020
@ghost ghost deleted the fix/business-bridgechain-tweaks branch February 18, 2020 16:39
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.

4 participants