diff options
author | Aaron Buchwald <[email protected]> | 2020-11-09 12:36:26 -0500 |
---|---|---|
committer | Aaron Buchwald <[email protected]> | 2020-11-09 12:36:26 -0500 |
commit | 60eb1fdfa0e996f5564bbd9a17801ea9b7c9df1a (patch) | |
tree | 06b9f7ca99152d9c4fa01aa5ca98a38e0f08ac54 /plugin/evm/vm.go | |
parent | 8938754d0d0bc5e1fd7f7a8892b0ff23458c8f10 (diff) |
Fix typo
Diffstat (limited to 'plugin/evm/vm.go')
-rw-r--r-- | plugin/evm/vm.go | 2 |
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) } |