From 013e48dc414b28ad693f510fbefed586e63762e9 Mon Sep 17 00:00:00 2001 From: D-Stacks Date: Sat, 2 Jul 2022 19:29:04 +0200 Subject: [PATCH] fix error variable to string --- domain/miningmanager/mempool/transactions_pool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domain/miningmanager/mempool/transactions_pool.go b/domain/miningmanager/mempool/transactions_pool.go index f01af0815..83448c8a9 100644 --- a/domain/miningmanager/mempool/transactions_pool.go +++ b/domain/miningmanager/mempool/transactions_pool.go @@ -235,7 +235,7 @@ func (tp *transactionsPool) getTransactionsByAddresses(clone bool) ( } for _, input := range transaction.Inputs { if input.UTXOEntry == nil { //this should be fixed - return nil, nil, errors.Errorf("Mempool transaction %s is missing an UTXOEntry. This should be fixed, and not happen", consensushashing.TransactionID(transaction)) + return nil, nil, errors.Errorf("Mempool transaction %s is missing an UTXOEntry. This should be fixed, and not happen", consensushashing.TransactionID(transaction).String()) } _, address, err := txscript.ExtractScriptPubKeyAddress(input.UTXOEntry.ScriptPublicKey(), tp.mempool.params) if err != nil {