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

Staking form needs to accept passwords with special characters #65

Open
mntyfrsh opened this issue May 2, 2019 · 0 comments
Open

Staking form needs to accept passwords with special characters #65

mntyfrsh opened this issue May 2, 2019 · 0 comments

Comments

@mntyfrsh
Copy link
Collaborator

mntyfrsh commented May 2, 2019

Update stakingPassword in https://github.com/Encrypt-S/navcoin-angular/blob/master/src/app/homepage/wallet-status/wallet-status.component.ts

setStaking(setStaking: Boolean) {
this.buttonDebounce = true;

let command: Array<RpcSend>;

if (this.wallet.isEncrypted && setStaking) {
  command = [
    new RpcSend('walletpassphrase', [
      this.stakingForm.value.stakingPassword,
      999999999999999999,
      true
    ]),
    new RpcSend('staking', [setStaking])
  ];
} else {
  command = [new RpcSend('staking', [setStaking])];
}
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

No branches or pull requests

1 participant