aboutsummaryrefslogtreecommitdiff
path: root/plugin/evm/import_tx.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/evm/import_tx.go')
-rw-r--r--plugin/evm/import_tx.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/evm/import_tx.go b/plugin/evm/import_tx.go
index 4d7f219..2b8882f 100644
--- a/plugin/evm/import_tx.go
+++ b/plugin/evm/import_tx.go
@@ -64,6 +64,8 @@ func (tx *UnsignedImportTx) Verify(
return errWrongChainID
case len(tx.ImportedInputs) == 0:
return errNoImportInputs
+ case len(tx.Outs) == 0:
+ return errNoImportOutputs
case tx.NetworkID != ctx.NetworkID:
return errWrongNetworkID
case !ctx.ChainID.Equals(tx.BlockchainID):