aboutsummaryrefslogtreecommitdiff
path: root/plugin/evm/vm.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/evm/vm.go')
-rw-r--r--plugin/evm/vm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/evm/vm.go b/plugin/evm/vm.go
index c7c7ca0..4b3c2bb 100644
--- a/plugin/evm/vm.go
+++ b/plugin/evm/vm.go
@@ -934,7 +934,7 @@ func (vm *VM) ParseLocalAddress(addrStr string) (ids.ShortID, error) {
if err != nil {
return ids.ShortID{}, err
}
- if !chainID.Equals(vm.ctx.ChainID) {
+ if chainID != vm.ctx.ChainID {
return ids.ShortID{}, fmt.Errorf("expected chainID to be %q but was %q",
vm.ctx.ChainID, chainID)
}