Merge fec996403a into merged_master (Elements PR ElementsProject/elements#1072)

This commit is contained in:
Glenn Willen 2022-04-20 19:29:07 -07:00
commit 19307ddeb3

View file

@ -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) {