Commit 28f8d396 authored by mdj33's avatar mdj33 Committed by 33cn

modify log

parent 21b0b843
...@@ -379,7 +379,7 @@ func (client *client) getLastBlockInfo() (int64, *types.Block, error) { ...@@ -379,7 +379,7 @@ func (client *client) getLastBlockInfo() (int64, *types.Block, error) {
func (client *client) GetForkHeightOnMainChain(key string) (int64, error) { func (client *client) GetForkHeightOnMainChain(key string) (int64, error) {
ret, err := client.grpcClient.GetFork(context.Background(), &types.ReqKey{Key: []byte(key)}) ret, err := client.grpcClient.GetFork(context.Background(), &types.ReqKey{Key: []byte(key)})
if err != nil { if err != nil {
plog.Error("para get rpc ForkBlockHash fail", "err", err.Error()) plog.Error("para get rpc ForkHeight fail", "key", key, "err", err.Error())
return types.MaxHeight, err return types.MaxHeight, err
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment