Skip to content

Conversation

@Fuzzbawls
Copy link
Collaborator

For new payment requests via the UI, it doesn't make sense to have an empty/zero value for the amount being requested, but when creating a new cold staking address it is up to the sender how much they want to delegate, so the value at address creation time is completely optional.

This fixes the hard requirement of setting a non-zero value for cold staking address creation, and will no longer throw an error when the amount value is omitted (as the GUI indicates it is optional, which should be the intended behavior).

Also fixes a variable shadowing issue.

@Fuzzbawls Fuzzbawls added this to the 6.0.0 milestone Jan 9, 2022
@Fuzzbawls Fuzzbawls self-assigned this Jan 9, 2022
Copy link

@furszy furszy left a comment

Choose a reason for hiding this comment

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

ACK bae05a8

Copy link

@random-zebra random-zebra left a comment

Choose a reason for hiding this comment

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

utACK bae05a8

@furszy furszy merged commit 2f8a034 into PIVX-Project:master Jan 14, 2022
@Fuzzbawls Fuzzbawls modified the milestones: 6.0.0, 5.5.0 Sep 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants