From 60eb1fdfa0e996f5564bbd9a17801ea9b7c9df1a Mon Sep 17 00:00:00 2001 From: Aaron Buchwald Date: Mon, 9 Nov 2020 12:36:26 -0500 Subject: Fix typo --- plugin/evm/vm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/evm/vm.go') 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) } -- cgit v1.2.3-70-g09d2