Skip to content

Conversation

@ianhe8x
Copy link
Contributor

@ianhe8x ianhe8x commented May 8, 2025

When a statechannel doesn't need to use consumerhost for the initial funding, it didn't call consumerhost.paid() therefore the relation between realuser <> channelId is missed in consumerhost.
This PR fixes the issue by introducing a new function setChannelConsumer().
and fixChannelConsumer(uint256 channelId, address consumer) for admin to fix the missing data for existing channels.

@ianhe8x ianhe8x merged commit 313a443 into develop May 12, 2025
2 checks passed
@ianhe8x ianhe8x deleted the fix-channel branch May 12, 2025 01:50
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