Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Commit

Permalink
Return ENR in admin_nodeInfo RPC
Browse files Browse the repository at this point in the history
  • Loading branch information
gumb0 authored Aug 5, 2019
1 parent 6a66526 commit ce7201f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libweb3jsonrpc/AdminNet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Json::Value AdminNet::admin_nodeInfo()
ret["listenAddr"] = i.address + ":" + toString(i.port);
ret["id"] = i.id.hex();
ret["enode"] = i.enode();
ret["enr"] = i.enr;
ret["protocols"] = Json::objectValue;
ret["protocols"]["eth"] = Json::objectValue; //@todo fill with information
return ret;
Expand Down

0 comments on commit ce7201f

Please sign in to comment.