There was an error while loading. Please reload this page.
2 parents 1956e46 + 3c029f4 commit 837b054Copy full SHA for 837b054
1 file changed
src/blind.cpp
@@ -178,7 +178,7 @@ bool GenerateRangeproof(std::vector<unsigned char>& rangeproof, const std::vecto
178
memcpy(asset_message+32, asset_blindptrs[asset_blindptrs.size()-1], 32);
179
180
// Sign rangeproof
181
- int ct_exponent = std::min(std::max((int)gArgs.GetArg("-ct_exponent", 0), -1), 18);
+ int ct_exponent = (int)gArgs.GetArg("-ct_exponent", 0);
182
int ct_bits = (int)gArgs.GetArg("-ct_bits", 52);
183
// If min_value is 0, scriptPubKey must be unspendable
184
uint64_t min_value = scriptPubKey.IsUnspendable() ? 0 : 1;
0 commit comments