Skip to content

Staking form needs to accept passwords with special characters #65

Description

@mntyfrsh

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])];
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions