From ffa593513c9e61e81b64fb92cdfa31f38b2f408a Mon Sep 17 00:00:00 2001 From: even Date: Wed, 12 Jun 2019 14:18:32 +0800 Subject: [PATCH] change banner --- main.go | 17 ++++++++++------- seller_tx.go | 4 ++-- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/main.go b/main.go index 131df19..875cc87 100644 --- a/main.go +++ b/main.go @@ -60,16 +60,19 @@ func main() { } } -// SetupPOD setups api server and node. +// SetupPOD setups api server and node- func SetupPOD() { Log := Logger.NewSessionLogger() - fmt.Printf("██████╗ ██████╗ ██████╗ ███████╗██╗ ██╗\n") - fmt.Printf("██╔══██╗██╔═══██╗██╔══██╗██╔════╝╚██╗██╔╝\n") - fmt.Printf("██████╔╝██║ ██║██║ ██║█████╗ ╚███╔╝\n") - fmt.Printf("██╔═══╝ ██║ ██║██║ ██║██╔══╝ ██╔██╗\n") - fmt.Printf("██║ ╚██████╔╝██████╔╝███████╗██╔╝ ██╗\n") - fmt.Printf("╚═╝ ╚═════╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝\n") + fmt.Printf(" ██╗ ████████╗ ████████╗ \n") + fmt.Printf(" ██║ ██╔════██╗ ██╔════███╗\n") + fmt.Printf("███████╗ ██║ ██╗ ██║ ██║ ███╗ ██║ ██║\n") + fmt.Printf("╚══███╔╝ ██║ ██╔╝ ████████╔╝ ██╔══██╗ ██║ ██║\n") + fmt.Printf(" ███╔╝ █████╔╝ ██╔═════╝ ██╔╝ ██║ ██║ ██║\n") + fmt.Printf(" ███╔╝ ██╔═██╗ ██║ ██╗ ██╔╝ ██║ ███╔╝\n") + fmt.Printf("███████╗ ██║ ██╗ ██║ ╚███╔═╝ ████████╔═╝\n") + fmt.Printf("╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚══╝ ╚═══════╝\n") + go SetupAPIServe(Log) SetupNode(Log) } diff --git a/seller_tx.go b/seller_tx.go index a5a5e3b..165b090 100644 --- a/seller_tx.go +++ b/seller_tx.go @@ -59,8 +59,8 @@ func preSellerTx(mklroot string, re requestExtra, Log ILogger) (SellerConnParam, extraPath := BConf.SellerDir + "/publish/" + mklroot + "/extra.json" extra, err := readExtraFile(extraPath) if err != nil { - Log.Warnf("failed to read bulletin. err=%v", err) - return params, re, fmt.Errorf("failed to read bulletin") + Log.Warnf("failed to extra file. err=%v", err) + return params, re, fmt.Errorf("failed to extra file") } Log.Debugf("read extra info...%v", extra)