perf: 杂项细节调整
This commit is contained in:
@@ -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
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user