Skip to content

Conversation

@febo
Copy link
Contributor

@febo febo commented Jan 18, 2026

Problem

Currently it is not possible to use a delegate to unwrap_lamports.

Solution

Add delegate support to unwrap_lamports. The delegate implementation works similarly to how it works on transfer:

  • delegates can only unwrap up to the amount delegated
  • when the delegated amount reaches 0, the delegate is cleared

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