From 8403b12f1ec53af7e41a66c9fc5a9262b63a17df Mon Sep 17 00:00:00 2001
From: chengzhinei <chengxue5yuan@163.com>
Date: Tue, 12 Dec 2023 16:22:41 +0800
Subject: [PATCH] del log of data.hash

---
 app/rpc/namespaces/eth/tx_pool.go | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/app/rpc/namespaces/eth/tx_pool.go b/app/rpc/namespaces/eth/tx_pool.go
index 99bf732bb0..6c0b5e712e 100644
--- a/app/rpc/namespaces/eth/tx_pool.go
+++ b/app/rpc/namespaces/eth/tx_pool.go
@@ -245,12 +245,12 @@ func (pool *TxPool) continueBroadcast(api *PublicEthereumAPI, currentNonce uint6
 		if !strings.Contains(err.Error(), sdkerrors.ErrMempoolIsFull.Error()) &&
 			!strings.Contains(err.Error(), sdkerrors.ErrInvalidSequence.Error()) {
 			// tx has err, and err is not mempoolfull, the tx should be dropped
-			err = fmt.Errorf("broadcast failed and tx dropped. err:%s; nonce:%d; tx_hash:%s; address:%s\n",
-				err.Error(), pool.addressTxsPool[address][i].Data.AccountNonce, pool.addressTxsPool[address][i].Data.Hash.String(), address.String())
+			err = fmt.Errorf("broadcast failed and tx dropped. err:%s; data:%v; address:%s\n",
+				err.Error(), pool.addressTxsPool[address][i].Data, address.String())
 			pool.dropTxs(i+1, address)
 		} else {
-			err = fmt.Errorf("broadcast failed. err:%s; nonce:%d; tx_hash:%s; address:%s\n",
-				err.Error(), pool.addressTxsPool[address][i].Data.AccountNonce, pool.addressTxsPool[address][i].Data.Hash.String(), address.String())
+			err = fmt.Errorf("broadcast failed. err:%s; data:%v; address:%s\n",
+				err.Error(), pool.addressTxsPool[address][i].Data, address.String())
 			pool.dropTxs(i, address)
 		}
 		pool.logger.Error(err.Error())