Skip to content

Commit

Permalink
fix: use correct params for orml/asset transfer (#1009)
Browse files Browse the repository at this point in the history
  • Loading branch information
Asmadek authored Aug 5, 2023
1 parent e476ce7 commit dacbede
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/renderer/services/transaction/transactionService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export const useTransaction = (): ITransactionService => {
[TransactionType.ASSET_TRANSFER]: (transaction, info, options) => {
return methods.assets.transfer(
{
id: transaction.args.assetId,
id: transaction.args.asset,
target: transaction.args.dest,
amount: transaction.args.value,
},
Expand All @@ -113,7 +113,7 @@ export const useTransaction = (): ITransactionService => {
{
dest: transaction.args.dest,
amount: transaction.args.value,
currencyId: transaction.args.assetId,
currencyId: transaction.args.asset,
},
info,
options,
Expand All @@ -122,7 +122,7 @@ export const useTransaction = (): ITransactionService => {
{
dest: transaction.args.dest,
amount: transaction.args.value,
currencyId: transaction.args.assetId,
currencyId: transaction.args.asset,
},
info,
options,
Expand Down

0 comments on commit dacbede

Please sign in to comment.