aboutsummaryrefslogtreecommitdiff
path: root/plugin/evm/import_tx.go
diff options
context:
space:
mode:
authorAaron Buchwald <[email protected]>2020-11-25 11:20:36 -0500
committerAaron Buchwald <[email protected]>2020-11-25 11:25:20 -0500
commit61479754d935e36993f7144d70d7c518cdb26a36 (patch)
treece38ae6325561029628e09929615e141e7f3b144 /plugin/evm/import_tx.go
parent44c27ae8f05bb7f1076d9159d4106afd41e2e010 (diff)
Add avax API client and upgrade to avalanchego v1.0.5-client
Diffstat (limited to 'plugin/evm/import_tx.go')
-rw-r--r--plugin/evm/import_tx.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/evm/import_tx.go b/plugin/evm/import_tx.go
index 23dbc5f..1ec394c 100644
--- a/plugin/evm/import_tx.go
+++ b/plugin/evm/import_tx.go
@@ -135,7 +135,7 @@ func (tx *UnsignedImportTx) SemanticVerify(
utxoBytes := allUTXOBytes[i]
utxo := &avax.UTXO{}
- if err := vm.codec.Unmarshal(utxoBytes, utxo); err != nil {
+ if _, err := vm.codec.Unmarshal(utxoBytes, utxo); err != nil {
return tempError{err}
}