|
|
@ -197,6 +197,7 @@ func (hmy *Harmony) GetNodeMetadata() commonRPC.NodeMetadata { |
|
|
|
ChainConfig: *hmy.ChainConfig(), |
|
|
|
ChainConfig: *hmy.ChainConfig(), |
|
|
|
IsLeader: hmy.IsLeader(), |
|
|
|
IsLeader: hmy.IsLeader(), |
|
|
|
ShardID: hmy.ShardID, |
|
|
|
ShardID: hmy.ShardID, |
|
|
|
|
|
|
|
CurrentBlockNum: header.Number().Uint64(), |
|
|
|
CurrentEpoch: header.Epoch().Uint64(), |
|
|
|
CurrentEpoch: header.Epoch().Uint64(), |
|
|
|
BlocksPerEpoch: blockEpoch, |
|
|
|
BlocksPerEpoch: blockEpoch, |
|
|
|
Role: cfg.Role().String(), |
|
|
|
Role: cfg.Role().String(), |
|
|
|