Skip to content

Commit

Permalink
wallet: Temporarity disable an assertion in SelectCoinsBnB()
Browse files Browse the repository at this point in the history
  • Loading branch information
lateminer committed Sep 18, 2023
1 parent ae562c4 commit 7dc16a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/wallet/coinselection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@ std::optional<SelectionResult> SelectCoinsBnB(std::vector<OutputGroup>& utxo_poo
result.AddInput(utxo_pool.at(i));
}
result.ComputeAndSetWaste(cost_of_change, cost_of_change, CAmount{0});
assert(best_waste == result.GetWaste());

// Blackcoin ToDo: find a way to fix a possible assertion here
// assert(best_waste == result.GetWaste());

return result;
}
Expand Down

0 comments on commit 7dc16a0

Please sign in to comment.