From 0a145b83be41d1ffa56b5e67409c8b7209816f36 Mon Sep 17 00:00:00 2001 From: Zaki Manian Date: Fri, 5 Jul 2019 20:52:21 -0700 Subject: [PATCH] Update lite/verifying/provider.go Co-Authored-By: Ismail Khoffi --- lite/verifying/provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lite/verifying/provider.go b/lite/verifying/provider.go index 161ea2ec..192be0d6 100644 --- a/lite/verifying/provider.go +++ b/lite/verifying/provider.go @@ -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)