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

Fix displaying delegate name - Closes #1080 #1082

Merged
merged 2 commits into from
Aug 17, 2018
Merged

Conversation

slaweet
Copy link
Contributor

@slaweet slaweet commented Aug 16, 2018

What was the problem?

When registering a delegate, it never got the transaction confirmed, thus never showed delegate name and "Forging" tab

How did I fix it?

Similarly to Hub, I stopped checking unconfirmed transactions, so that as long as there is a pending transaction, it will keep trying to fetch confirmed transactions, until the pending transaction is in the confirmed list.

How to test it?

  • Login to a non-delegate account
  • Register a delegate
  • Wait for the transaction to be confirmed
  • Check that the delegate name and Forging tab is displayed.

Review checklist

... to make sure we won't miss confirmed transactions
- update tests not to use invalid public key (non-hex)
- update sign/verify Message tests because the algorithm changed
@slaweet slaweet force-pushed the 1080-fix-delegate branch from 4e4847c to 776a137 Compare August 17, 2018 08:46
Copy link

@faival faival left a comment

Choose a reason for hiding this comment

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

thanks @slaweet !

@slaweet slaweet merged commit 8ed57f7 into 2.0.0 Aug 17, 2018
@slaweet slaweet deleted the 1080-fix-delegate branch August 17, 2018 13:48
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.

3 participants