refactor: fix clang-tidy named args usage

This commit is contained in:
fanquake 2022-04-02 16:01:40 +01:00
parent 62efdfb3be
commit 37a16ffd70
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1
32 changed files with 61 additions and 61 deletions

View file

@ -655,7 +655,7 @@ bool SignTransaction(CMutableTransaction& mtx, const SigningProvider* keystore,
CTxIn& txin = mtx.vin[i];
auto coin = coins.find(txin.prevout);
if (coin == coins.end() || coin->second.IsSpent()) {
txdata.Init(txConst, /* spent_outputs */ {}, /* force */ true);
txdata.Init(txConst, /*spent_outputs=*/{}, /*force=*/true);
break;
} else {
spent_outputs.emplace_back(coin->second.out.nValue, coin->second.out.scriptPubKey);