Skip to content

Commit 33167b1

Browse files
committed
trivial: clang format after scripted diff
1 parent 7008d6a commit 33167b1

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/test/block_reward_reallocation_tests.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ static void SignTransaction(const CTxMemPool& mempool, CMutableTransaction& tx,
101101

102102
for (auto [i, input] : enumerate(tx.vin)) {
103103
uint256 hashBlock;
104-
CTransactionRef txFrom = GetTransaction(/*block_index=*/nullptr, &mempool, input.prevout.hash, Params().GetConsensus(), hashBlock);
104+
CTransactionRef txFrom = GetTransaction(/*block_index=*/nullptr, &mempool, input.prevout.hash,
105+
Params().GetConsensus(), hashBlock);
105106
BOOST_REQUIRE(txFrom);
106107
BOOST_REQUIRE(SignSignature(tempKeystore, *txFrom, tx, i, SIGHASH_ALL));
107108
}

src/test/evo_deterministicmns_tests.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ static void SignTransaction(const CTxMemPool& mempool, CMutableTransaction& tx,
9090

9191
for (size_t i = 0; i < tx.vin.size(); i++) {
9292
uint256 hashBlock;
93-
CTransactionRef txFrom = GetTransaction(/*block_index=*/nullptr, &mempool, tx.vin[i].prevout.hash, Params().GetConsensus(), hashBlock);
93+
CTransactionRef txFrom = GetTransaction(/*block_index=*/nullptr, &mempool, tx.vin[i].prevout.hash,
94+
Params().GetConsensus(), hashBlock);
9495
BOOST_REQUIRE(txFrom);
9596
BOOST_REQUIRE(SignSignature(tempKeystore, *txFrom, tx, i, SIGHASH_ALL));
9697
}
@@ -227,7 +228,8 @@ static bool CheckTransactionSignature(const CTxMemPool& mempool, const CMutableT
227228
for (unsigned int i = 0; i < tx.vin.size(); i++) {
228229
const auto& txin = tx.vin[i];
229230
uint256 hashBlock;
230-
CTransactionRef txFrom = GetTransaction(/*block_index=*/nullptr, &mempool, txin.prevout.hash, Params().GetConsensus(), hashBlock);
231+
CTransactionRef txFrom = GetTransaction(/*block_index=*/nullptr, &mempool, txin.prevout.hash,
232+
Params().GetConsensus(), hashBlock);
231233
BOOST_REQUIRE(txFrom);
232234

233235
CAmount amount = txFrom->vout[txin.prevout.n].nValue;

0 commit comments

Comments
 (0)