From 7dc16a014a663cbdb2c6623ea8661884ad638bd7 Mon Sep 17 00:00:00 2001 From: lateminer <9951982+lateminer@users.noreply.github.com> Date: Mon, 18 Sep 2023 22:19:28 +0200 Subject: [PATCH] wallet: Temporarity disable an assertion in SelectCoinsBnB() --- src/wallet/coinselection.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/wallet/coinselection.cpp b/src/wallet/coinselection.cpp index c4735aac41..1e01d5abff 100644 --- a/src/wallet/coinselection.cpp +++ b/src/wallet/coinselection.cpp @@ -162,7 +162,9 @@ std::optional SelectCoinsBnB(std::vector& 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; }