Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
nop33 committed Sep 1, 2023
1 parent 7da3390 commit f20bcb6
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/api/transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ export const buildSweepTransactions = async (fromAddress: Address, toAddressHash
export const buildUnsignedTransactions = async (
fromAddress: Address,
toAddressHash: string,
assetAmounts: AssetAmount[],
gasAmount?: number,
gasPrice?: string
assetAmounts: AssetAmount[]
) => {
const assetsWithAvailableBalance = getAddressAssetsAvailableBalance(fromAddress).filter(
(asset) => asset.availableBalance > 0
Expand All @@ -60,9 +58,7 @@ export const buildUnsignedTransactions = async (
const data = await buildTransferTransaction({
fromAddress,
toAddress: toAddressHash,
assetAmounts,
gasAmount,
gasPrice
assetAmounts
})

return {
Expand Down

0 comments on commit f20bcb6

Please sign in to comment.