mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
tidy: modernize-use-emplace
This commit is contained in:
parent
4a5aae9330
commit
fa05a726c2
47 changed files with 167 additions and 162 deletions
|
|
@ -1930,7 +1930,7 @@ static RPCHelpMan getblockstats()
|
|||
// New feerate uses satoshis per virtual byte instead of per serialized byte
|
||||
CAmount feerate = weight ? (txfee * WITNESS_SCALE_FACTOR) / weight : 0;
|
||||
if (do_feerate_percentiles) {
|
||||
feerate_array.emplace_back(std::make_pair(feerate, weight));
|
||||
feerate_array.emplace_back(feerate, weight);
|
||||
}
|
||||
maxfeerate = std::max(maxfeerate, feerate);
|
||||
minfeerate = std::min(minfeerate, feerate);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue