Commit 5d15a01e authored by 张振华's avatar 张振华

bugfix

parent a4a6b8fa
...@@ -78,7 +78,7 @@ func NewAction(guess *Guess, tx *types.Transaction, index int) *Action { ...@@ -78,7 +78,7 @@ func NewAction(guess *Guess, tx *types.Transaction, index int) *Action {
fromAddr := tx.From() fromAddr := tx.From()
msgRecvOp := grpc.WithMaxMsgSize(grpcRecSize) msgRecvOp := grpc.WithMaxMsgSize(grpcRecSize)
paraRemoteGrpcClient := types.Conf("config.consensus").GStr("ParaRemoteGrpcClient") paraRemoteGrpcClient := types.Conf("config.consensus.sub.para").GStr("ParaRemoteGrpcClient")
if types.IsPara() && paraRemoteGrpcClient == "" { if types.IsPara() && paraRemoteGrpcClient == "" {
panic("ParaRemoteGrpcClient error") panic("ParaRemoteGrpcClient error")
} }
......
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