Rmv:Removed GetVoteOnHash() fn from consensus/bor/api.go

This commit is contained in:
Vaibhav Jindal 2023-09-12 16:35:49 +05:30
parent 43d54c4456
commit 47ad9e4c6f

View file

@ -341,10 +341,6 @@ func (api *API) GetRootHash(start uint64, end uint64) (string, error) {
return root, nil return root, nil
} }
func (api *API) GetVoteOnHash(starBlockNr uint64, endBlockNr uint64, hash string, milestoneId string) (bool, error) {
return false, nil
}
func (api *API) initializeRootHashCache() error { func (api *API) initializeRootHashCache() error {
var err error var err error
if api.rootHashCache == nil { if api.rootHashCache == nil {