File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88 "github.com/decred/dcrd/chaincfg/v3"
99 "github.com/decred/dcrdata/db/dcrpg/v8"
10+ apitypes "github.com/decred/dcrdata/v8/api/types"
1011 "github.com/decred/dcrdata/v8/explorer/types"
1112)
1213
@@ -71,6 +72,8 @@ func TestStatusPageResponseCodes(t *testing.T) {
7172 TestnetLink : "/" ,
7273 })
7374
75+ exp .SetStatus (new (apitypes.Status ))
76+
7477 // handler := http.HandlerFunc()
7578 // handler.ServeHTTP(rr, req)
7679
Original file line number Diff line number Diff line change @@ -651,7 +651,7 @@ func _main(ctx context.Context) error {
651651 chainDB .SignalHeight (uint32 (chainDBHeight ))
652652 }
653653
654- // Set explore status. This will enable tracking wheter or not we are still
654+ // Set explore status. This will enable tracking whether or not we are still
655655 // connected to a node.
656656 explore .SetStatus (app .Status )
657657
You can’t perform that action at this time.
0 commit comments