mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
Merge ElementsProject/elements#1072: Remove redundant log message in IsValidPeginWitness
b2dd758ce4 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
This commit is contained in:
commit
fec996403a
1 changed files with 0 additions and 1 deletions
|
|
@ -373,7 +373,6 @@ bool IsValidPeginWitness(const CScriptWitness& pegin_witness, const std::vector<
|
|||
if (tx_index == 0) {
|
||||
required_depth = std::max(required_depth, (unsigned int)COINBASE_MATURITY);
|
||||
}
|
||||
LogPrintf("Required depth: %d\n", required_depth);
|
||||
if (!IsConfirmedBitcoinBlock(block_hash, required_depth, num_txs)) {
|
||||
err_msg = "Needs more confirmations.";
|
||||
if (depth_failed) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue