Skip to content

feat: Sync multisig output cell.#2332

Merged
Keith-CY merged 4 commits intonervosnetwork:developfrom
yanguoyu:sync-multisig-balance
Apr 18, 2022
Merged

feat: Sync multisig output cell.#2332
Keith-CY merged 4 commits intonervosnetwork:developfrom
yanguoyu:sync-multisig-balance

Conversation

@yanguoyu
Copy link
Contributor

No description provided.

@Keith-CY Keith-CY self-requested a review April 15, 2022 10:45
@Keith-CY
Copy link
Collaborator

Balances are not cleared by clear cache

…ts. Clear multisig output database when clear cache.
@yanguoyu
Copy link
Contributor Author

Balances are not cleared by clear cache

Fixed it by 07038ea

@Keith-CY Keith-CY merged commit 83c9851 into nervosnetwork:develop Apr 18, 2022
@yanguoyu yanguoyu deleted the sync-multisig-balance branch April 18, 2022 03:10
res.forEach((v, idx) => {
if (!v.error && v?.result?.objects?.length) {
addressCursorMap.set(currentMultisigConfigs[idx].fullPayload, v?.result?.last_cursor)
liveCells.push(...v.result.objects.map((output: any) => MultisigOutput.fromIndexer(output)))
Copy link
Collaborator

Choose a reason for hiding this comment

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

cells with type script should be eliminated

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Keith-CY Keith-CY mentioned this pull request May 5, 2022
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