mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-04-11 13:38:38 +03:00
Fix PriceFeed
This commit is contained in:
@@ -308,7 +308,7 @@ export default async function swap({
|
||||
options?.logger?.('Redeem tx mined.');
|
||||
options?.logger?.('Atomic swap completed.');
|
||||
|
||||
if (options?.withdrawToWallet) {
|
||||
if (options?.withdrawToWallet !== undefined && options.withdrawToWallet) {
|
||||
options.logger?.('Withdrawing to wallet...');
|
||||
const unsignedWithdrawTx = await targetExchangeContract.populateTransaction.withdraw(
|
||||
targetChainAssetAddress,
|
||||
|
||||
Reference in New Issue
Block a user