Skip to content

Conversation

@gijswijs
Copy link
Contributor

@gijswijs gijswijs commented Oct 10, 2024

Fixes lightninglabs/taproot-assets#1142

The RPC calls were updated to allow composite UTXOs (assets from multiple asset utxos) for funding capability, but the same functionality is not available in the CLI due to the existing sanity check.

This commits changes the sanity check to allow for composite UTXOs by validating whether the running sum of the assets in the UTXOs is greater than the amount to be funded.

@dstadulis dstadulis requested a review from GeorgeTsagk October 10, 2024 08:27
@dstadulis dstadulis assigned gijswijs and ffranr and unassigned gijswijs and ffranr Oct 10, 2024
@gijswijs gijswijs force-pushed the relax-fundchannel-checks branch from 599c1ae to d5b3328 Compare October 11, 2024 14:17
The RPC calls were updated to allow composite UTXOs (assets from
multiple asset utxos) for funding capability, but the same functionality
is not available in the CLI due to the existing sanity check.

This commits changes the sanity check to allow for composite UTXOs by
validating whether the running sum of the assets in the UTXOs is greater
than the amount to be funded.
@gijswijs gijswijs force-pushed the relax-fundchannel-checks branch from d5b3328 to 2a50a51 Compare October 11, 2024 14:24
@dstadulis
Copy link

Merge Sign!

@dstadulis dstadulis merged commit ccbbb55 into 2024-09-0_19_reproducible-releases Oct 11, 2024
13 checks passed
@dstadulis dstadulis mentioned this pull request Oct 11, 2024
1 task
@guggero guggero deleted the relax-fundchannel-checks branch October 12, 2024 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

6 participants