Skip to content

Add the ability to not auto-create hot account when activate cold sta…#360

Merged
sondreb merged 2 commits intomasterfrom
feature/setup-offline-staking
Nov 21, 2021
Merged

Add the ability to not auto-create hot account when activate cold sta…#360
sondreb merged 2 commits intomasterfrom
feature/setup-offline-staking

Conversation

@sondreb
Copy link
Copy Markdown
Member

@sondreb sondreb commented Oct 14, 2021

…king

  • Need review and discussion if an additional API endpoint should be added ("setup-offline-staking") or if simply the "SetupColdStakingRequest" type should be expanded with an extra property?

…king

- Need review and discussion if an additional API endpoint should be added ("setup-offline-staking") or if simply the "SetupColdStakingRequest" type should be expanded with an extra property?
HdAccount hotAccount = this.GetOrCreateColdStakingAccount(walletName, false, walletPassword);
HdAccount hotAccount;

if (createHotAccount)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Wait the problem is only with hot accounts?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The problem is having both active at the same time, there is no need for the reversed.

@dangershony
Copy link
Copy Markdown
Member

Why are tests failing? is it to do with this change?

Copy link
Copy Markdown
Member

@dangershony dangershony left a comment

Choose a reason for hiding this comment

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

looks good just need to check tests

@dangershony
Copy link
Copy Markdown
Member

Why all tests failed? I will rerun them

@dangershony
Copy link
Copy Markdown
Member

This is now good to push

@sondreb sondreb merged commit e0932eb into master Nov 21, 2021
@sondreb sondreb deleted the feature/setup-offline-staking branch November 21, 2021 15:09
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.

2 participants