diff --git a/client/webserver/live_test.go b/client/webserver/live_test.go
index 6b3de8b132..5552857a4c 100644
--- a/client/webserver/live_test.go
+++ b/client/webserver/live_test.go
@@ -1982,7 +1982,19 @@ func (c *TCore) ApproveTokenFee(assetID uint32, version uint32, approval bool) (
}
func (c *TCore) StakeStatus(assetID uint32) (*asset.TicketStakingStatus, error) {
- return nil, nil
+ res := asset.TicketStakingStatus{
+ TicketPrice: 24000000000,
+ VotingSubsidy: 1200000,
+ VSP: "",
+ IsRPC: false,
+ Tickets: []*asset.Ticket{},
+ Stances: asset.Stances{
+ Agendas: []*asset.TBAgenda{},
+ TreasurySpends: []*asset.TBTreasurySpend{},
+ },
+ Stats: asset.TicketStats{},
+ }
+ return &res, nil
}
func (c *TCore) SetVSP(assetID uint32, addr string) error {
@@ -1998,7 +2010,14 @@ func (c *TCore) SetVotingPreferences(assetID uint32, choices, tSpendPolicy, trea
}
func (c *TCore) ListVSPs(assetID uint32) ([]*asset.VotingServiceProvider, error) {
- return nil, nil
+ vsps := []*asset.VotingServiceProvider{
+ {
+ URL: "https://example.com",
+ FeePercentage: 0.1,
+ Voting: 12345,
+ },
+ }
+ return vsps, nil
}
func (c *TCore) TicketPage(assetID uint32, scanStart int32, n, skipN int) ([]*asset.Ticket, error) {
diff --git a/client/webserver/site/src/html/bodybuilder.tmpl b/client/webserver/site/src/html/bodybuilder.tmpl
index ea413e7cc6..c23b7dfc7d 100644
--- a/client/webserver/site/src/html/bodybuilder.tmpl
+++ b/client/webserver/site/src/html/bodybuilder.tmpl
@@ -103,7 +103,7 @@
{{end}}
{{define "bottom"}}
-
+