fix: light client generating LightClientUpdate
with wrong length of branches
#7187
+239
−44
LightClientUpdate
with wrong length of branches
#7187