mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-10 15:04:27 +00:00
change ivalidator to xdc validator name
This commit is contained in:
parent
dc10103bea
commit
f51efe2fe6
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.NewXDCValidator(common.HexToAddress(common.XDCValidator), client)
|
validator, err := contract2.NewXDCValidator(common.HexToAddress(common.XDCValidator), client)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error("Fail get instance of IValidator", "error", err)
|
log.Error("Fail get instance of XDC Validator", "error", err)
|
||||||
return owner, err
|
return owner, err
|
||||||
}
|
}
|
||||||
opts := new(bind.CallOpts)
|
opts := new(bind.CallOpts)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue