mirror of
https://github.com/tendermint/tendermint.git
synced 2026-06-08 23:32:42 +00:00
Update lite/verifying/provider.go
Co-Authored-By: Ismail Khoffi <Ismail.Khoffi@gmail.com>
This commit is contained in:
@@ -98,7 +98,7 @@ func NewProvider(chainID, rootDir string, client lclient.SignStatusClient, logge
|
||||
// is within the trust period of latest block
|
||||
// 2. Trusts the remote node and gets the latest commit
|
||||
// 3. Returns an error if the height provided in trust option is too old to sync to latest.
|
||||
func getTrustCommit(client lclient.SignStatusClient, options TrustOptions) (types.SignedHeader, error) {
|
||||
func getTrustedCommit(client lclient.SignStatusClient, options TrustOptions) (types.SignedHeader, error) {
|
||||
|
||||
// Get the lastest commit always
|
||||
latestBlock, err := client.Commit(nil)
|
||||
|
||||
Reference in New Issue
Block a user