Anton's suggested changes

This commit is contained in:
Ismail Khoffi
2018-12-10 11:19:02 +01:00
parent e33f256359
commit 3d5e06ff7c
2 changed files with 2 additions and 2 deletions

View File

@ -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)