feat: safely merge partial persistent updates and update hide ui script
This commit is contained in:
1 parent
332171cafb
commit
83fa8c7d44
3 files changed
+115
-56
No files matched your search
@@ -138,8 +138,12 @@ func TestGatewayHandshakeAndLogin(t *testing.T) {
|
||||
if cmdID != 4112 {
|
||||
t.Fatalf("unexpected GetUnreleasedBlockInfoScRsp id: got %d want 4112", cmdID)
|
||||
}
|
||||
if len(body) != 2 || body[0] != 0x70 || body[1] != 0x00 {
|
||||
t.Fatalf("unexpected UnreleasedBlockInfo body: %x", body)
|
||||
blockRsp := &goproto.GetUnreleasedBlockInfoScRsp{}
|
||||
if err := proto.Unmarshal(body, blockRsp); err != nil {
|
||||
t.Fatalf("unmarshal GetUnreleasedBlockInfo: %v", err)
|
||||
}
|
||||
if blockRsp.Retcode != 0 {
|
||||
t.Fatalf("unexpected UnreleasedBlockInfo retcode: %d", blockRsp.Retcode)
|
||||
}
|
||||
t.Log("GetUnreleasedBlockInfo verified: 4190 -> 4112 retcode 0")
|
||||
|
||||
|
||||
Reference in new issue
Block a user