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

cold staking widget state different scenarios fixing #624

Merged
merged 4 commits into from
Jan 12, 2018

Conversation

vikas-cis-zz
Copy link

@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 46.477% when pulling 472cefc on vikas-cis:cold_staking_widget_state into cbd7582 on particl:dev.

Copy link
Contributor

@pciavald pciavald left a comment

Choose a reason for hiding this comment

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

unlock widget does not have the right behaviour

Wallet should be unlocked for staking only when unlocking the widget, instead of the current fully unlocked with timer.

unlock wallet for staking only does not have the right behaviour

When unlocking for staking only, coldstaking is at 0%. Locking and fully unlocking the wallet updates the coldstaking at 100% (real here).
peek 2018-01-09 23-34

@@ -64,6 +65,9 @@ export class ColdstakeComponent implements OnInit {
if (this.coldstakeProgress < 100) {
setTimeout(this.rpc_progressLoop.bind(this), 1000);
}
if (this.coldstakeProgress === 100) {
this.activation = 'Activated';
Copy link
Contributor

Choose a reason for hiding this comment

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

we still need to poll here in case there's a new transaction after full activation

@pciavald pciavald added this to the 1.1 milestone Jan 9, 2018
@coveralls
Copy link

Coverage Status

Coverage increased (+0.06%) to 46.49% when pulling f316a01 on vikas-cis:cold_staking_widget_state into cbd7582 on particl:dev.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.09%) to 46.519% when pulling f564389 on vikas-cis:cold_staking_widget_state into cbd7582 on particl:dev.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.3%) to 46.71% when pulling 6b59d1e on vikas-cis:cold_staking_widget_state into cbd7582 on particl:dev.

@pciavald
Copy link
Contributor

Perfect, @vikas-cis .

@pciavald pciavald merged commit 806953c into particl:dev Jan 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants