Skip to content

Commit 2672443

Browse files
authored
Merge pull request #794 from relayprotocol/feature/disable-eoa-check
Remove explicitDeposit parameter
2 parents 17d0bfc + 4749b3e commit 2672443

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.changeset/deep-hairs-spend.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@relayprotocol/relay-kit-ui': patch
3+
---
4+
5+
Remove explicitDeposit parameter

packages/ui/src/components/widgets/SwapWidgetRenderer.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -642,11 +642,12 @@ const SwapWidgetRenderer: FC<SwapWidgetRendererProps> = ({
642642
refundTo: fromToken?.chainId === 1337 ? address : undefined,
643643
slippageTolerance: slippageTolerance,
644644
topupGas: gasTopUpEnabled && gasTopUpRequired,
645-
protocolVersion: quoteProtocol,
646-
...(quoteProtocol === 'preferV2' &&
647-
explicitDeposit !== undefined && {
648-
explicitDeposit: explicitDeposit
649-
})
645+
protocolVersion: quoteProtocol
646+
//Disabled temporarily for investigation
647+
// ...(quoteProtocol === 'preferV2' &&
648+
// explicitDeposit !== undefined && {
649+
// explicitDeposit: explicitDeposit
650+
// })
650651
}
651652
: undefined
652653

0 commit comments

Comments
 (0)