Skip to content

Commit

Permalink
Fix x -> ada swaps
Browse files Browse the repository at this point in the history
  • Loading branch information
Sluder committed Dec 4, 2024
1 parent 7159a5f commit 09b77cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dex/splash.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export class Splash extends BaseDex {
const walletUtxos: UTxO[] = await dataProvider.utxos(
swapParameters[DatumParameterKey.Address] as string,
swapParameters[DatumParameterKey.SwapInTokenPolicyId] !== ''
? new Asset(DatumParameterKey.SwapInTokenPolicyId, DatumParameterKey.SwapInTokenAssetName)
? new Asset(swapParameters.SwapInTokenPolicyId as string, swapParameters.SwapInTokenAssetName as string)
: undefined
);
const firstUtxo: UTxO = walletUtxos[0];
Expand Down

0 comments on commit 09b77cc

Please sign in to comment.