mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-30 19:55:42 +00:00
e2e: integrate light clients (#6196)
This commit is contained in:
@@ -861,6 +861,8 @@ func (c *Client) cleanupAfter(height int64) error {
|
||||
}
|
||||
|
||||
func (c *Client) updateTrustedLightBlock(l *types.LightBlock) error {
|
||||
c.logger.Debug("updating trusted light block", "light_block", l)
|
||||
|
||||
if err := c.trustedStore.SaveLightBlock(l); err != nil {
|
||||
return fmt.Errorf("failed to save trusted header: %w", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user