diff options
Diffstat (limited to 'plugin/evm/service.go')
-rw-r--r-- | plugin/evm/service.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/evm/service.go b/plugin/evm/service.go index a934941..0ec7620 100644 --- a/plugin/evm/service.go +++ b/plugin/evm/service.go @@ -244,7 +244,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") } |