Skip to content

Commit fec9964

Browse files
committed
Merge #1072: Remove redundant log message in IsValidPeginWitness
b2dd758 Remove redundant log message in IsValidPeginWitness (Glenn Willen) Pull request description: The value it logs, very frequently, is essentially static, coming straight from the chainparams, and should never change during runtime anyway. (With a small exception that doesn't really matter and is probably not the reason for the log.) Top commit has no ACKs. Tree-SHA512: 5cda28c850a808a8a0d43bd3369a0a18817e774d35e4c7605e3e4ffe7746f192a603c031413286a9b5c8d557f9b1807ba5ac236d8ecef9f9b64517446b788f80
2 parents 04cedf3 + b2dd758 commit fec9964

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/pegins.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,6 @@ bool IsValidPeginWitness(const CScriptWitness& pegin_witness, const std::vector<
373373
if (tx_index == 0) {
374374
required_depth = std::max(required_depth, (unsigned int)COINBASE_MATURITY);
375375
}
376-
LogPrintf("Required depth: %d\n", required_depth);
377376
if (!IsConfirmedBitcoinBlock(block_hash, required_depth, num_txs)) {
378377
err_msg = "Needs more confirmations.";
379378
if (depth_failed) {

0 commit comments

Comments
 (0)