mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
Change IValidator to Tomo Validator name.
This commit is contained in:
parent
cb993ece47
commit
3248badf0c
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ func GetCandidatesOwnerByAddress(client bind.ContractBackend, addr common.Addres
|
||||||
owner := common.Address{}
|
owner := common.Address{}
|
||||||
validator, err := contract2.NewTomoValidator(common.HexToAddress(common.TomoValidator), client)
|
validator, err := contract2.NewTomoValidator(common.HexToAddress(common.TomoValidator), client)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error("Fail get instance of IValidator", "error", err)
|
log.Error("Fail get instance of Tomo Validator", "error", err)
|
||||||
return owner, err
|
return owner, err
|
||||||
}
|
}
|
||||||
opts := new(bind.CallOpts)
|
opts := new(bind.CallOpts)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue