add git commit hash to nodeInfo

This commit is contained in:
Ethan Buchman
2015-07-10 15:50:58 +00:00
parent 751b892cba
commit 3f7f3dd37f
10 changed files with 38 additions and 20 deletions

View File

@ -16,9 +16,9 @@ func testStatus(t *testing.T, typ string) {
if err != nil {
t.Fatal(err)
}
if resp.ChainID != chainID {
if resp.NodeInfo.ChainID != chainID {
t.Fatal(fmt.Errorf("ChainID mismatch: got %s expected %s",
resp.ChainID, chainID))
resp.NodeInfo.ChainID, chainID))
}
}