aboutsummaryrefslogtreecommitdiff
path: root/plugin/evm/service.go
diff options
context:
space:
mode:
authorDan Laine <[email protected]>2020-10-30 12:55:53 -0400
committerDan Laine <[email protected]>2020-10-30 12:55:53 -0400
commit5b12d3fa21635145cb8a752b56477e22fca77a5b (patch)
treeb789cd27fc5a0795057f1c1ccbf17834a8af18c0 /plugin/evm/service.go
parent4023ae20cb2b7cd228a68670bc55a6c9cdbabc36 (diff)
remove these ID calls: Key(), Bytes(), Equals(), NewID(), IsZero()v0.3.11-update-idupdate-id
Diffstat (limited to 'plugin/evm/service.go')
-rw-r--r--plugin/evm/service.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/evm/service.go b/plugin/evm/service.go
index f1c30c5..3509929 100644
--- a/plugin/evm/service.go
+++ b/plugin/evm/service.go
@@ -232,7 +232,7 @@ type ExportArgs struct {
// It must be imported on the X-Chain to complete the transfer
func (service *AvaxAPI) Export(_ *http.Request, args *ExportArgs, response *api.JSONTxID) error {
log.Info("EVM: Export called")
- if args.AssetID.IsZero() {
+ if args.AssetID == ids.Empty {
return fmt.Errorf("assetID is required")
}