You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I've found an edge case where a solution should be found but is not. For example, consider the following UTXO set:
{1, 2, 2.5, 4}
And, if we are looking for a target of 7, the solution ought to be: {1, 2, 4}, however, in my testing, no match is found, even though the combination is possible.
Recently I've found an edge case where a solution should be found but is not. For example, consider the following UTXO set:
{1, 2, 2.5, 4}
And, if we are looking for a target of 7, the solution ought to be:
{1, 2, 4}
, however, in my testing, no match is found, even though the combination is possible.Here is the test that should pass but fails:
see branch: https://github.com/p2pderivatives/rust-bitcoin-coin-selection/tree/bug/incorrect-solution
The text was updated successfully, but these errors were encountered: