perf(laya): compact relevance states

This commit is contained in:
2026-11-23 19:12:03 +01:00
parent 9a00bceebd
commit 6d2d174195
9 changed files with 375 additions and 118 deletions

View File

@ -45,7 +45,7 @@ func TestTicket19LayaReceivesCompanyNameAndSelectedInternalIdentity(t *testing.T
t.Fatalf("Laya indices payload=%+v", request.States)
}
index := request.States[0].Indices[0]
if index["name"] != "Baidu, Inc." || index["symbol"] != "9888.HK" || index["figi"] != figi {
if index["name"] != "Baidu, Inc." || index["symbol"] != "9888.HK" || index["figi"] != "" {
t.Fatalf("Laya received wrong company identity: %+v", index)
}
if index["symbol"] == "SSAAPL INDEX" {