diff options
author | Determinant <[email protected]> | 2020-09-19 19:32:37 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2020-09-19 19:32:37 -0400 |
commit | 80f76ae97372ea074ce660dbcaffd97c648ece22 (patch) | |
tree | e9029d3ff63fa84ee2089ad4b020c40772e4d768 /plugin/evm/service.go | |
parent | 4a447f41d8f03796e8581031a41976fb5ba299b4 (diff) |
fully support C<->X asset transferv0.3.1-rc.1
Diffstat (limited to 'plugin/evm/service.go')
-rw-r--r-- | plugin/evm/service.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugin/evm/service.go b/plugin/evm/service.go index f50d66a..c34a59d 100644 --- a/plugin/evm/service.go +++ b/plugin/evm/service.go @@ -329,10 +329,9 @@ func (service *AvaxAPI) Export(_ *http.Request, args *ExportArgs, response *api. return fmt.Errorf("couldn't get addresses controlled by the user: %w", err) } - assetID := service.vm.ctx.AVAXAssetID // Create the transaction tx, err := service.vm.newExportTx( - assetID, // AssetID + args.AssetID, // AssetID uint64(args.Amount), // Amount chainID, // ID of the chain to send the funds to to, // Address |