fix: decompress compress_only amount check#2235
Conversation
📝 WalkthroughWalkthroughThe decompression validation logic in the compressed token program has been simplified by removing a conditional check. Amount validation is now performed unconditionally for all decompression operations, ensuring compression_amount always equals input_amount regardless of the destination path. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit