Merge 426679e48c into merged_master (Elements PR #1134)

This commit is contained in:
Glenn Willen 2023-03-01 09:18:11 -08:00
commit 98e863fcbb

View file

@ -3464,7 +3464,7 @@ void CWalletTx::GetBlindingData(const unsigned int map_index, const std::vector<
memcpy(asset_tag.begin(), &*(it + 73), 32);
pubkey.Set(it + 105, it + 138);
if (conf_value.IsExplicit()) {
if (amount != -1 && conf_value.IsExplicit()) {
assert(conf_value.GetAmount() == amount);
}
} else {