Skip to content

Conversation

@piotr-iohk
Copy link
Collaborator

@piotr-iohk piotr-iohk commented Dec 17, 2025

@piotr-iohk piotr-iohk requested a review from Copilot December 17, 2025 07:48
@piotr-iohk piotr-iohk self-assigned this Dec 17, 2025
@piotr-iohk piotr-iohk added Android Changes related to bitkit-android iOS Changes related to bitkit-ios labels Dec 17, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the LNURL payment test to verify proper handling of min/max amount boundaries with edge case values that require rounding from millisatoshis to satoshis. The test now uses non-round msat values (149500 and 200999) to ensure the application correctly rounds amounts and enforces boundaries.

Key Changes:

  • Updates minSendable from 100000 msats (100 sats) to 149500 msats (rounds to 150 sats)
  • Updates maxSendable from 200000 msats (200 sats) to 200999 msats (rounds to 200 sats)
  • Adjusts test assertions to verify 149 sats is rejected as too low while 150 sats is accepted

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@piotr-iohk piotr-iohk merged commit a5a805f into main Dec 17, 2025
@piotr-iohk piotr-iohk deleted the fix/lnurl-min-send-ceil branch December 17, 2025 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Android Changes related to bitkit-android iOS Changes related to bitkit-ios

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants