mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-15 00:01:18 +00:00
Update lite/verifying/provider.go
Co-Authored-By: Ismail Khoffi <Ismail.Khoffi@gmail.com>
This commit is contained in:
parent
d15f0f8df0
commit
0a145b83be
@ -98,7 +98,7 @@ func NewProvider(chainID, rootDir string, client lclient.SignStatusClient, logge
|
|||||||
// is within the trust period of latest block
|
// is within the trust period of latest block
|
||||||
// 2. Trusts the remote node and gets the latest commit
|
// 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.
|
// 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
|
// Get the lastest commit always
|
||||||
latestBlock, err := client.Commit(nil)
|
latestBlock, err := client.Commit(nil)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user