Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix channel closure and account tracking in callback package. #46

Merged
merged 4 commits into from
May 12, 2023

Conversation

0xekez
Copy link
Contributor

@0xekez 0xekez commented Apr 28, 2023

Before this change:

  1. The account map wasn't populated if no callback was requested during execution.
  2. Sequence number wasn't namespaced by channel_id, which would cause incorrect callbacks to be sent in the event of a channel closing.

@0xekez 0xekez requested review from Art3miX and bekauz April 28, 2023 01:19
@0xekez 0xekez force-pushed the zeke/channel-closure-and-account-tracking branch from 74eee7d to 1d8e567 Compare April 28, 2023 01:21
Base automatically changed from zeke/audit-fixes to main April 28, 2023 20:43
contracts/note/src/state.rs Outdated Show resolved Hide resolved
@0xekez 0xekez force-pushed the zeke/channel-closure-and-account-tracking branch from 1d8e567 to 4e1067f Compare April 28, 2023 22:16
0xekez added 4 commits May 11, 2023 21:15
Before this change:

1. The account map wasn't populated if no callback was requested
   during execution.
2. Sequence number wasn't namespaced by channel_id, which would cause
   incorrect callbacks to be sent in the event of a channel closing.
@0xekez 0xekez force-pushed the zeke/channel-closure-and-account-tracking branch from d706fc3 to 6c5177a Compare May 12, 2023 04:17
@0xekez 0xekez merged commit c99a026 into main May 12, 2023
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.

Local to remote address mapping should be populated even if no callback is requested
2 participants