Skip to content

Conversation

@nick
Copy link
Contributor

@nick nick commented Jul 1, 2024

No description provided.

fromStaker.inputAmount = 0n
fromStaker.outputAmount = 0n
fromStaker.rewardAmount = 0n
fromStaker.balance = 0n
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why doesn't this use numStakes to determine what portion of the stake was transferred? Have you already determined that they're all complete transfers?

Copy link
Collaborator

@apexearth apexearth left a comment

Choose a reason for hiding this comment

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

I don't see any glaring issues. I'll leave it to you to merge this to main so long as you've tested it well and are confident with the results. @nick


if (!legacyStaker) {
legacyStaker = new LegacyStaker({
id: id.toLowerCase(),
Copy link
Collaborator

Choose a reason for hiding this comment

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

it is already lowercase here

@apexearth apexearth merged commit 2d077e6 into main Jul 2, 2024
@nick nick deleted the legacy-staking branch August 28, 2024 14:31
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.

3 participants