Logger: change log level for "Couldn't find UTXO entry" to debug

This commit is contained in:
D-Stacks 2022-06-26 16:03:19 +02:00
parent c5aade7e7f
commit f406e380ce

View File

@ -82,7 +82,7 @@ func extractMempoolEntriesByAddressesFromTransactions(context *rpccontext.Contex
for i, input := range transaction.Inputs {
// TODO: Fix this
if input.UTXOEntry == nil {
log.Errorf("Couldn't find UTXO entry for input %d in mempool transaction %s. This is a bug and should be fixed.", i, consensushashing.TransactionID(transaction))
log.Debugf("Couldn't find UTXO entry for input %d in mempool transaction %s. This is a bug and should be fixed.", i, consensushashing.TransactionID(transaction))
continue
}