diff --git a/api/api_test.go b/api/api_test.go index 37dba100..19f18e27 100644 --- a/api/api_test.go +++ b/api/api_test.go @@ -439,7 +439,19 @@ func TestAPI(t *testing.T) { if err != nil { t.Fatal(err) } - check(t, "network", cm.TipState().Network, resp) + n := cm.TipState().Network + check(t, "Name", n.Name, resp.Name) + check(t, "InitialCoinbase", n.InitialCoinbase, resp.InitialCoinbase) + check(t, "InitialCoinbase", n.InitialCoinbase, resp.InitialCoinbase) + check(t, "MinimumCoinbase", n.MinimumCoinbase, resp.MinimumCoinbase) + check(t, "InitialTarget", n.InitialTarget, resp.InitialTarget) + check(t, "HardforkDevAddr", n.HardforkDevAddr, resp.HardforkDevAddr) + check(t, "HardforkTax", n.HardforkTax, resp.HardforkTax) + check(t, "HardforkStorageProof", n.HardforkStorageProof, resp.HardforkStorageProof) + check(t, "HardforkOak", n.HardforkOak, resp.HardforkOak) + check(t, "HardforkASIC", n.HardforkASIC, resp.HardforkASIC) + check(t, "HardforkFoundation", n.HardforkFoundation, resp.HardforkFoundation) + check(t, "HardforkV2", n.HardforkV2, resp.HardforkV2) } {