remove unused variable

This commit is contained in:
wowario 2021-06-27 14:01:47 +03:00
parent 04dbdfcd98
commit a9c03bb005
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111
1 changed files with 0 additions and 1 deletions

View File

@ -472,7 +472,6 @@ namespace cryptonote
return blob_size;
if (rct::is_rct_old_bulletproof(rv.type))
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);
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");