diff --git a/libethcore/ChainOperationParams.h b/libethcore/ChainOperationParams.h index 279a3948d..5ac129ec6 100644 --- a/libethcore/ChainOperationParams.h +++ b/libethcore/ChainOperationParams.h @@ -140,7 +140,7 @@ struct GroupNode { u256 id; u256 schainIndex; std::string publicKey; - std::string owner; + std::string address; }; /// skale diff --git a/libethereum/ChainParams.cpp b/libethereum/ChainParams.cpp index 86e0d4139..837530bee 100644 --- a/libethereum/ChainParams.cpp +++ b/libethereum/ChainParams.cpp @@ -296,8 +296,8 @@ ChainParams ChainParams::loadConfig( u256 sChainIndex = groupNodeConfObj[0].get_uint64(); u256 id = groupNodeConfObj[1].get_uint64(); std::string publicKey = groupNodeConfObj[2].get_str(); - std::string owner = groupNodeConfObj[3].get_str(); - groupNodes.push_back( { id, sChainIndex, publicKey, owner } ); + std::string address = groupNodeConfObj[3].get_str(); + groupNodes.push_back( { id, sChainIndex, publicKey, address } ); } std::sort( groupNodes.begin(), groupNodes.end(), []( const GroupNode& lhs, const GroupNode& rhs ) { diff --git a/libethereum/Client.h b/libethereum/Client.h index 90f491282..6579818b2 100644 --- a/libethereum/Client.h +++ b/libethereum/Client.h @@ -312,7 +312,7 @@ class Client : public ClientBase, protected Worker { // get node owner for historic node in chain std::string getHistoricNodeOwner( unsigned _idx ) const { - return chainParams().sChain.nodeGroups[historicGroupIndex].nodes[_idx].owner; + return chainParams().sChain.nodeGroups[historicGroupIndex].nodes[_idx].address; } void doStateDbCompaction() const { m_state.getOriginalDb()->doCompaction(); }