From f406e380ce44f79662f563ff7eb89395d523a1fa Mon Sep 17 00:00:00 2001 From: D-Stacks Date: Sun, 26 Jun 2022 16:03:19 +0200 Subject: [PATCH] Logger: change log level for "Couldn't find UTXO entry" to debug --- app/rpc/rpchandlers/get_mempool_entries_by_addresses.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/rpc/rpchandlers/get_mempool_entries_by_addresses.go b/app/rpc/rpchandlers/get_mempool_entries_by_addresses.go index d40d42332..7a7b54307 100644 --- a/app/rpc/rpchandlers/get_mempool_entries_by_addresses.go +++ b/app/rpc/rpchandlers/get_mempool_entries_by_addresses.go @@ -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 }