aboutsummaryrefslogtreecommitdiff
path: root/plugin/evm/import_tx.go
diff options
context:
space:
mode:
authorAaron Buchwald <[email protected]>2020-11-09 13:46:28 -0500
committerAaron Buchwald <[email protected]>2020-11-09 13:46:28 -0500
commitd7f430c196e0856eaaeedbfe1fcc30c1c472cd43 (patch)
tree6ceb8d94aa28c815b5b23b774038ad518518a7db /plugin/evm/import_tx.go
parent60eb1fdfa0e996f5564bbd9a17801ea9b7c9df1a (diff)
Clean up usage of ids.ID
Diffstat (limited to 'plugin/evm/import_tx.go')
-rw-r--r--plugin/evm/import_tx.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugin/evm/import_tx.go b/plugin/evm/import_tx.go
index 2ce8f6f..23dbc5f 100644
--- a/plugin/evm/import_tx.go
+++ b/plugin/evm/import_tx.go
@@ -58,8 +58,6 @@ func (tx *UnsignedImportTx) Verify(
return errNilTx
case tx.syntacticallyVerified: // already passed syntactic verification
return nil
- case tx.SourceChain == ids.Empty:
- return errWrongChainID
case tx.SourceChain != avmID:
return errWrongChainID
case len(tx.ImportedInputs) == 0: