Skip to content

[MultiSig] CCTS should only sync once Fed wallet is synced#508

Merged
fassadlr merged 3 commits intostratisproject:masterfrom
fassadlr:fix-ccts-sync
Apr 12, 2021
Merged

[MultiSig] CCTS should only sync once Fed wallet is synced#508
fassadlr merged 3 commits intostratisproject:masterfrom
fassadlr:fix-ccts-sync

Conversation

@fassadlr
Copy link
Contributor

https://app.clickup.com/t/nq2m0u

I tested this with a CirrusTest resync of the CCTS and federation wallet.

Copy link
Contributor

@noescape00 noescape00 left a comment

Choose a reason for hiding this comment

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

LGTM

}

// Then ensure that the federation wallet is synced with the chain.
if (this.federationWalletManager.WalletTipHeight < this.chainIndexer.Tip.Height - FederationWalletTipSyncBuffer)
Copy link
Contributor

@quantumagi quantumagi Apr 12, 2021

Choose a reason for hiding this comment

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

Could an additional check be added to not run the CCTS sync when the wallet needs to be consolidated?

@quantumagi quantumagi self-requested a review April 12, 2021 06:31
Copy link
Contributor

@quantumagi quantumagi left a comment

Choose a reason for hiding this comment

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

LGTM. Maybe just add the above mentioned check.

@fassadlr fassadlr merged commit 073792c into stratisproject:master Apr 12, 2021
@fassadlr fassadlr deleted the fix-ccts-sync branch April 12, 2021 07:46
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