mirror of
https://git.wownero.com/wownero/wownero.git
synced 2025-01-23 15:58:34 +00:00
remove unused variable
This commit is contained in:
parent
34884a4b00
commit
307f553ee7
@ -463,7 +463,6 @@ namespace cryptonote
|
|||||||
return blob_size;
|
return blob_size;
|
||||||
if (rct::is_rct_old_bulletproof(rv.type))
|
if (rct::is_rct_old_bulletproof(rv.type))
|
||||||
return blob_size;
|
return blob_size;
|
||||||
const uint64_t bp_base = 368;
|
|
||||||
const size_t n_padded_outputs = bulletproof_plus ? rct::n_bulletproof_plus_max_amounts(rv.p.bulletproofs_plus) : rct::n_bulletproof_max_amounts(rv.p.bulletproofs);
|
const size_t n_padded_outputs = bulletproof_plus ? rct::n_bulletproof_plus_max_amounts(rv.p.bulletproofs_plus) : rct::n_bulletproof_max_amounts(rv.p.bulletproofs);
|
||||||
uint64_t bp_clawback = get_transaction_weight_clawback(tx, n_padded_outputs);
|
uint64_t bp_clawback = get_transaction_weight_clawback(tx, n_padded_outputs);
|
||||||
CHECK_AND_ASSERT_THROW_MES_L1(bp_clawback <= std::numeric_limits<uint64_t>::max() - blob_size, "Weight overflow");
|
CHECK_AND_ASSERT_THROW_MES_L1(bp_clawback <= std::numeric_limits<uint64_t>::max() - blob_size, "Weight overflow");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user