Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to register as a delegate with an account balance of 25 #1350

Closed
Korben3 opened this issue Oct 13, 2018 · 2 comments

Comments

@Korben3
Copy link

commented Oct 13, 2018

Steps to reproduce

  1. Create a new address with a lisk balance of 25
  2. Login to that address and register as a delegate.
  3. An error: "Insufficient funds (Fee: 25 lisk)" is displayed

Actual result

Unable to register as a delegate. (the same action works fine in nano).

Expected result

Able to register as a delegate.

Version

Hub 1.3.0

Screenshot (if appropriate)

image

@slaweet

This comment has been minimized.

Copy link
Member

commented Oct 15, 2018

Thanks for the report. Looks like the problem is that the condition is "More than 25 LSK" instead of "At least 25 LSK"

hasEnoughLSK() {
return (fromRawLsk(this.props.account.balance) * 1
> fromRawLsk(Fees.registerDelegate) * 1);
}

@slaweet slaweet added this to New Issues in Version 1.6.0 via automation Oct 15, 2018

@Korben3

This comment has been minimized.

Copy link
Author

commented Oct 15, 2018

No problem, that looks like an easy fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
3 participants
You can’t perform that action at this time.