perf: 杂项细节调整

This commit is contained in:
zhiqiang.wang
2025-06-15 20:47:52 +08:00
parent 0e0392e352
commit aeeaa7ef95
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -38,7 +38,6 @@ type WalletAddress struct {
// 启动时添加初始钱包地址
func addStartWalletAddress() {
for _, itm := range conf.GetWalletAddress() {
fmt.Println(itm)
var info = strings.Split(itm, ":")
if len(info) != 2 {
+1 -1
View File
@@ -193,7 +193,7 @@ func evmBlockParse(b any) {
if data.Get("error").Exists() {
conf.SetBlockFail(n.Network.Type)
chainScanQueue.In <- n
log.Warn("Polygon getBlockByNumber response error ", data.Get("error").String())
log.Warn(fmt.Sprintf("%s getBlockByNumber response error %s %v", n.Network.Type, data.Get("error").String(), n))
return
}