aboutsummaryrefslogtreecommitdiff
path: root/plugin/evm
diff options
context:
space:
mode:
authorAaron Buchwald <[email protected]>2020-11-09 12:36:26 -0500
committerAaron Buchwald <[email protected]>2020-11-09 12:36:26 -0500
commit60eb1fdfa0e996f5564bbd9a17801ea9b7c9df1a (patch)
tree06b9f7ca99152d9c4fa01aa5ca98a38e0f08ac54 /plugin/evm
parent8938754d0d0bc5e1fd7f7a8892b0ff23458c8f10 (diff)
Fix typo
Diffstat (limited to 'plugin/evm')
-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)
}