mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-13 13:21:20 +00:00
Anton's suggested changes
This commit is contained in:
@ -937,7 +937,7 @@ func (cs *ConsensusState) createProposalBlock() (block *types.Block, blockParts
|
||||
), maxGas)
|
||||
proposerAddr, err := cs.privValidator.GetAddress()
|
||||
if err != nil {
|
||||
cs.Logger.Error("enterPropose: Cannot create block without private validator's address:", "err", err)
|
||||
cs.Logger.Error("enterPropose: Cannot create block without private validator's address", "err", err)
|
||||
return
|
||||
}
|
||||
block, parts := cs.state.MakeBlock(cs.Height, txs, commit, evidence, proposerAddr)
|
||||
|
@ -627,7 +627,7 @@ func (n *Node) ConfigureRPC() {
|
||||
rpccore.SetP2PTransport(n)
|
||||
pubKey, err := n.privValidator.GetPubKey()
|
||||
if err != nil {
|
||||
n.Logger.Error("Error configuring RPC.", "err", err)
|
||||
n.Logger.Error("Error configuring RPC", "err", err)
|
||||
}
|
||||
rpccore.SetPubKey(pubKey)
|
||||
rpccore.SetGenesisDoc(n.genesisDoc)
|
||||
|
Reference in New Issue
Block a user